summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZMCInstLower.h
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-07-12 09:08:12 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-07-12 09:08:12 +0000
commit5e009541973b7935386055066689902aa7134e2d (patch)
treeacfabe0cedf94afd85f196a8e6df8181829d1167 /lib/Target/SystemZ/SystemZMCInstLower.h
parent6cf3cfa0ab1da0c52730fec103bbc69eb0370081 (diff)
downloadllvm-5e009541973b7935386055066689902aa7134e2d.tar.gz
llvm-5e009541973b7935386055066689902aa7134e2d.tar.bz2
llvm-5e009541973b7935386055066689902aa7134e2d.tar.xz
[SystemZ] Fix parsing of inline asm registers
GPR and FPR constraints like "{r2}" and "{f2}" weren't handled correctly because the name-to-regno mapping depends on the value type and (because of that) the internal names in RegStrings are not the same as the AsmName. CC constraints like "{cc}" didn't work either because there was no associated register class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZMCInstLower.h')
-rw-r--r--lib/Target/SystemZ/SystemZMCInstLower.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZMCInstLower.h b/lib/Target/SystemZ/SystemZMCInstLower.h
index afa72f38ad..db5bdb05ab 100644
--- a/lib/Target/SystemZ/SystemZMCInstLower.h
+++ b/lib/Target/SystemZ/SystemZMCInstLower.h
@@ -35,7 +35,7 @@ public:
// Lower MachineInstr MI to MCInst OutMI.
void lower(const MachineInstr *MI, MCInst &OutMI) const;
- // Return an MCOperand for MO. Return an empty operand if MO is implicit.
+ // Return an MCOperand for MO.
MCOperand lowerOperand(const MachineOperand& MO) const;
// Return an MCOperand for MO, given that it equals Symbol + Offset.