says that no $ prefix should be emitted on X86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33495
91177308-0d34-0410-b5e6-
96231b3b80d8
}
case MachineOperand::MO_Immediate:
- if (!Modifier || strcmp(Modifier, "debug") != 0)
+ if (!Modifier ||
+ (strcmp(Modifier, "debug") && strcmp(Modifier, "mem")))
O << '$';
O << MO.getImmedValue();
return;
switch (ExtraCode[0]) {
default: return true; // Unknown modifier.
- case 'c': // Don't print "$" before a global var name.
+ case 'c': // Don't print "$" before a global var name or constant.
printOperand(MI, OpNo, "mem");
return false;
case 'b': // Print QImode register