[llvm] [WIP] [AMDGPU] [GlobalIsel] Combine Fmul with Select into ldexp instruction. (PR #120104)

Vikash Gupta via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 22 22:59:49 PST 2024


================
@@ -465,13 +465,13 @@ bool AMDGPUCombinerHelper::matchCombineFmulWithSelectToLdexp(
 
     const auto SelectTrueCst =
         DestTy.isVector()
-            ? getFConstantSplat(SelectTrue, MRI, /* allowUndef */ true)
+            ? getFConstantSplat(SelectTrue, MRI, /*allowUndef=*/false)
----------------
vg0204 wrote:

Handled in #120935 

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


More information about the llvm-commits mailing list