[llvm] [BPF] Fix dst/val mismatch in class ATOMIC_NOFETCH (PR #107288)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 12:09:51 PDT 2024


================
@@ -790,7 +790,7 @@ let Predicates = [BPFNoALU32] in {
 class ATOMIC_NOFETCH<BPFWidthModifer SizeOp, string OpType, RegisterClass RegTp,
                      BPFArithOp Opc, string Opstr>
     : TYPE_LD_ST<BPF_ATOMIC.Value, SizeOp.Value,
-                 (outs GPR:$dst),
+                 (RegTp:GPR:$dst),
----------------
eddyz87 wrote:

Should this be `(outs RegTp:$dst)`?

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


More information about the llvm-commits mailing list