[llvm] [RFC][BPF] Add support for asm gotol_or_nop and nop_or_gotol insns (PR #75110)

Yingchi Long via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 02:22:30 PST 2023


================
@@ -259,6 +261,8 @@ struct BPFOperand : public MCParsedAsmOperand {
         .Case("bswap64", true)
         .Case("goto", true)
         .Case("gotol", true)
+        .Case("gotol_or_nop", true)
----------------
inclyc wrote:

skeptical about this, is `gotol_or_nop` `ValidIdInMiddle`? I think we did not introduce any asm syntax like:

    if ... gotol_or_nop

https://github.com/llvm/llvm-project/pull/75110


More information about the llvm-commits mailing list