[llvm] [WIP] [AMDGPU] [GlobalIsel] Combine Fmul with Select into ldexp instruction. (PR #120104)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 19 22:38:39 PST 2024
================
@@ -465,13 +465,13 @@ bool AMDGPUCombinerHelper::matchCombineFmulWithSelectToLdexp(
const auto SelectTrueCst =
DestTy.isVector()
- ? getFConstantSplat(SelectTrue, MRI, /* allowUndef */ true)
+ ? getFConstantSplat(SelectTrue, MRI, /*allowUndef=*/false)
----------------
arsenm wrote:
Please introduce the helper for dealing with splat or constants or drop vector support entirely
https://github.com/llvm/llvm-project/pull/120104
More information about the llvm-commits
mailing list