mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Nuke the rest of the :comment references
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
adde5da638
commit
78890f41f4
@ -904,7 +904,7 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
// Non-Darwin binutils don't yet support the "trap" mnemonic.
|
||||
// FIXME: Remove this special case when they do.
|
||||
if (!Subtarget->isTargetDarwin()) {
|
||||
//.long 0xe7ffdefe ${:comment} trap
|
||||
//.long 0xe7ffdefe @ trap
|
||||
uint32_t Val = 0xe7ffdefeUL;
|
||||
OutStreamer.AddComment("trap");
|
||||
OutStreamer.EmitIntValue(Val, 4);
|
||||
@ -916,7 +916,7 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
// Non-Darwin binutils don't yet support the "trap" mnemonic.
|
||||
// FIXME: Remove this special case when they do.
|
||||
if (!Subtarget->isTargetDarwin()) {
|
||||
//.short 57086 ${:comment} trap
|
||||
//.short 57086 @ trap
|
||||
uint16_t Val = 0xdefe;
|
||||
OutStreamer.AddComment("trap");
|
||||
OutStreamer.EmitIntValue(Val, 2);
|
||||
|
@ -3356,10 +3356,10 @@ def VMOVQ : N3VX<0, 0, 0b10, 0b0001, 1, 1, (outs QPR:$dst), (ins QPR:$src),
|
||||
// Pseudo vector move instructions for QQ and QQQQ registers. This should
|
||||
// be expanded after register allocation is completed.
|
||||
def VMOVQQ : PseudoInst<(outs QQPR:$dst), (ins QQPR:$src),
|
||||
NoItinerary, "${:comment} vmov\t$dst, $src", []>;
|
||||
NoItinerary, "", []>;
|
||||
|
||||
def VMOVQQQQ : PseudoInst<(outs QQQQPR:$dst), (ins QQQQPR:$src),
|
||||
NoItinerary, "${:comment} vmov\t$dst, $src", []>;
|
||||
NoItinerary, "", []>;
|
||||
} // neverHasSideEffects
|
||||
|
||||
// VMOV : Vector Move (Immediate)
|
||||
|
@ -126,13 +126,11 @@ def t_addrmode_sp : Operand<i32>,
|
||||
// these will always be in pairs, and asserts if it finds otherwise. Better way?
|
||||
let Defs = [SP], Uses = [SP], hasSideEffects = 1 in {
|
||||
def tADJCALLSTACKUP :
|
||||
PseudoInst<(outs), (ins i32imm:$amt1, i32imm:$amt2), NoItinerary,
|
||||
"${:comment} tADJCALLSTACKUP $amt1",
|
||||
PseudoInst<(outs), (ins i32imm:$amt1, i32imm:$amt2), NoItinerary, "",
|
||||
[(ARMcallseq_end imm:$amt1, imm:$amt2)]>, Requires<[IsThumb1Only]>;
|
||||
|
||||
def tADJCALLSTACKDOWN :
|
||||
PseudoInst<(outs), (ins i32imm:$amt), NoItinerary,
|
||||
"${:comment} tADJCALLSTACKDOWN $amt",
|
||||
PseudoInst<(outs), (ins i32imm:$amt), NoItinerary, "",
|
||||
[(ARMcallseq_start imm:$amt)]>, Requires<[IsThumb1Only]>;
|
||||
}
|
||||
|
||||
@ -365,7 +363,7 @@ let isBranch = 1, isTerminator = 1 in {
|
||||
// Far jump
|
||||
let Defs = [LR] in
|
||||
def tBfar : TIx2<0b11110, 0b11, 1, (outs), (ins brtarget:$target), IIC_Br,
|
||||
"bl\t$target\t${:comment} far jump",[]>;
|
||||
"bl\t$target",[]>;
|
||||
|
||||
def tBR_JTr : T1JTI<(outs),
|
||||
(ins tGPR:$target, jtblock_operand:$jt, i32imm:$id),
|
||||
@ -860,7 +858,7 @@ def tUXTH : T1pI<(outs tGPR:$dst), (ins tGPR:$src), IIC_iUNAr,
|
||||
let usesCustomInserter = 1 in // Expanded after instruction selection.
|
||||
def tMOVCCr_pseudo :
|
||||
PseudoInst<(outs tGPR:$dst), (ins tGPR:$false, tGPR:$true, pred:$cc),
|
||||
NoItinerary, "${:comment} tMOVCCr $cc",
|
||||
NoItinerary, "",
|
||||
[/*(set tGPR:$dst, (ARMcmov tGPR:$false, tGPR:$true, imm:$cc))*/]>;
|
||||
|
||||
|
||||
@ -1014,8 +1012,7 @@ def : T1Pat<(i32 imm0_255_comp:$src),
|
||||
// scheduling.
|
||||
let isReMaterializable = 1 in
|
||||
def tLDRpci_pic : PseudoInst<(outs GPR:$dst), (ins i32imm:$addr, pclabel:$cp),
|
||||
NoItinerary,
|
||||
"${:comment} ldr.n\t$dst, $addr\n$cp:\n\tadd\t$dst, pc",
|
||||
NoItinerary, "",
|
||||
[(set GPR:$dst, (ARMpic_add (load (ARMWrapper tconstpool:$addr)),
|
||||
imm:$cp))]>,
|
||||
Requires<[IsThumb1Only]>;
|
||||
|
@ -2728,8 +2728,7 @@ def : T2Pat<(ARMWrapperJT tjumptable:$dst, imm:$id),
|
||||
// scheduling.
|
||||
let canFoldAsLoad = 1, isReMaterializable = 1 in
|
||||
def t2LDRpci_pic : PseudoInst<(outs GPR:$dst), (ins i32imm:$addr, pclabel:$cp),
|
||||
IIC_iLoadiALU,
|
||||
"${:comment} ldr.w\t$dst, $addr\n$cp:\n\tadd\t$dst, pc",
|
||||
IIC_iLoadiALU, "",
|
||||
[(set GPR:$dst, (ARMpic_add (load (ARMWrapper tconstpool:$addr)),
|
||||
imm:$cp))]>,
|
||||
Requires<[IsThumb2]>;
|
||||
|
Loading…
Reference in New Issue
Block a user