Use subclassing to print lane-like immediates (w/o hash) eliminating
'no_hash' modifier. Hopefully this will make Daniel happy :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78514 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td
index d4ee7c0..c50482c 100644
--- a/lib/Target/ARM/ARMInstrThumb2.td
+++ b/lib/Target/ARM/ARMInstrThumb2.td
@@ -429,8 +429,8 @@
"adr$p.w $dst, #$label", []>;
def t2LEApcrelJT : T2XI<(outs GPR:$dst),
- (ins i32imm:$label, i32imm:$id, pred:$p), IIC_iALU,
- "adr$p.w $dst, #${label}_${id:no_hash}", []>;
+ (ins i32imm:$label, lane_cst:$id, pred:$p), IIC_iALU,
+ "adr$p.w $dst, #${label}_${id}", []>;
// ADD r, sp, {so_imm|i12}