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

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 08:44:07 PST 2023


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

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

Thanks! Will remove it later.



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


More information about the llvm-commits mailing list