[llvm] DAG: Replace bitwidth with type in suffix in atomic tablegen ops (PR #94845)

Fabian Ritter via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 07:12:12 PDT 2024


================
@@ -666,11 +681,11 @@ defm atomic_load_sub : binary_atomic_op_all_as<atomic_load_sub>;
 defm atomic_load_umax : binary_atomic_op_all_as<atomic_load_umax>;
 defm atomic_load_umin : binary_atomic_op_all_as<atomic_load_umin>;
 defm atomic_load_xor : binary_atomic_op_all_as<atomic_load_xor>;
-defm atomic_load_fadd : binary_atomic_op_all_as<atomic_load_fadd, 0>;
+defm atomic_load_fadd : binary_atomic_op_fp_all_as<atomic_load_fadd>;
 defm atomic_load_uinc_wrap : binary_atomic_op_all_as<atomic_load_uinc_wrap>;
 defm atomic_load_udec_wrap : binary_atomic_op_all_as<atomic_load_udec_wrap>;
 let MemoryVT = v2f16 in
----------------
ritter-x2a wrote:

Shouldn't this line be obsolete with this change?

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


More information about the llvm-commits mailing list