diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-03-08 22:42:46 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-03-08 22:42:46 +0000 |
| commit | ea28fc5dc44dca88606a652ff56e62f254c2293d (patch) | |
| tree | a47ccc4faa73842565fa89207f36a9f4d35f56b5 /llvm/lib/Target | |
| parent | 577e8b4ed89e7087191584c14180d8a081ddc3e0 (diff) | |
| download | bcm5719-llvm-ea28fc5dc44dca88606a652ff56e62f254c2293d.tar.gz bcm5719-llvm-ea28fc5dc44dca88606a652ff56e62f254c2293d.zip | |
Implement inline asm modifier c.
llvm-svn: 35035
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp index 03ac17bf961..2073e804856 100644 --- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp @@ -662,6 +662,9 @@ bool ARMAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, switch (ExtraCode[0]) { default: return true; // Unknown modifier. + case 'c': // Don't print "$" before a global var name or constant. + printOperand(MI, OpNo); + return false; case 'Q': if (TM.getTargetData()->isLittleEndian()) break; |

