Skip to content

Commit ba81cee

Browse files
committed
Use check literal
1 parent 11e9388 commit ba81cee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/TableGen/RegClassByHwMode.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ include "llvm/Target/Target.td"
114114

115115

116116

117-
// DISASM: {{\[\[}}maybe_unused{{\]\]}}
117+
// DISASM{LITERAL}: [[maybe_unused]]
118118
// DISASM-NEXT: static DecodeStatus DecodeMyPtrRCRegClassByHwMode(MCInst &Inst, unsigned Imm, uint64_t Addr, const MCDisassembler *Decoder) {
119119
// DISASM-NEXT: switch (Decoder->getSubtargetInfo().getHwMode(MCSubtargetInfo::HwMode_RegClass)) {
120120
// DISASM-NEXT: case 0: // DefaultMode
@@ -126,7 +126,7 @@ include "llvm/Target/Target.td"
126126
// DISASM-NEXT: }
127127
// DISASM-NEXT: }
128128

129-
// DISASM: {{\[\[}}maybe_unused{{\]\]}}
129+
// DISASM{LITERAL}: [[maybe_unused]]
130130
// DISASM-NEXT: static DecodeStatus DecodeXRegs_EvenIfRequiredRegClassByHwMode(MCInst &Inst, unsigned Imm, uint64_t Addr, const MCDisassembler *Decoder) {
131131
// DISASM-NEXT: switch (Decoder->getSubtargetInfo().getHwMode(MCSubtargetInfo::HwMode_RegClass)) {
132132
// DISASM-NEXT: case 0: // DefaultMode
@@ -140,7 +140,7 @@ include "llvm/Target/Target.td"
140140
// DISASM-NEXT: }
141141
// DISASM-NEXT:}
142142
// DISASM-EMPTY:
143-
// DISASM: {{\[\[}}maybe_unused{{\]\]}}
143+
// DISASM{LITERAL}: [[maybe_unused]]
144144
// DISASM-NEXT: static DecodeStatus DecodeYRegs_EvenIfRequiredRegClassByHwMode(MCInst &Inst, unsigned Imm, uint64_t Addr, const MCDisassembler *Decoder) {
145145
// DISASM-NEXT: switch (Decoder->getSubtargetInfo().getHwMode(MCSubtargetInfo::HwMode_RegClass)) {
146146
// DISASM-NEXT: case 0: // DefaultMode

0 commit comments

Comments
 (0)