[llvm] GlobalISel: Don't use GISelMatchGenericTypes for floating point opcodes (PR #212814)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 10:02:46 PDT 2026


================
@@ -1478,6 +1478,7 @@ def G_ATOMICRMW_MAX : G_ATOMICRMW_OP;
 def G_ATOMICRMW_MIN : G_ATOMICRMW_OP;
 def G_ATOMICRMW_UMAX : G_ATOMICRMW_OP;
 def G_ATOMICRMW_UMIN : G_ATOMICRMW_OP;
+let GISelMatchGenericTypes = 0 in
----------------
davemgreen wrote:

It should be on all the FP atomics below?

But I wouldn'y really expect it on anything other than G_ATOMICRMW_XCHG maybe. Is it needed for that? You might get away with removing it from G_ATOMICRMW_OP entirely if you can update the tests to match.

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


More information about the llvm-commits mailing list