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

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 13:11:57 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),
----------------
yonghong-song wrote:

It should. Somehow I made a mistake in the change. Fixed it now.

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


More information about the llvm-commits mailing list