[llvm] [AMDGPU] Recognise bitmask operations as srcmods (PR #149110)

Chris Jackson via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 09:16:33 PDT 2025


================
@@ -3036,6 +3036,36 @@ bool AMDGPUDAGToDAGISel::SelectVOP3ModsImpl(SDValue In, SDValue &Src,
     Src = Src.getOperand(0);
   }
 
+  // Convert various sign-bit masks to src mods. Currently disabled for 16-bit
----------------
chrisjbris wrote:

I should have mentioned in the description that integers are supported intentionally.

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


More information about the llvm-commits mailing list