Skip to content

Commit 5baf351

Browse files
[BPF] Do not allow gotol in the middle of asm insn (#144545)
Previously I accidentally allowed 'gotol' insn in the middle of asm insn ([1]). But actually 'gotol' is not allowed in the middle of any asm insn, so remove it from isValidIdInMiddle(). [1] yonghong-song@6c412b6
1 parent b14e03d commit 5baf351

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ struct BPFOperand : public MCParsedAsmOperand {
261261
.Case("bswap32", true)
262262
.Case("bswap64", true)
263263
.Case("goto", true)
264-
.Case("gotol", true)
265264
.Case("ll", true)
266265
.Case("skb", true)
267266
.Case("s", true)

0 commit comments

Comments
 (0)