[llvm] [AMDGPU][AArch64][SelectionDAG] Added target hook check for SelectwithConstant (PR #127599)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 21:55:34 PST 2025
================
@@ -796,6 +796,8 @@ class AArch64TargetLowering : public TargetLowering {
bool shouldConvertConstantLoadToIntImm(const APInt &Imm,
Type *Ty) const override;
+ bool convertSelectOfConstantsToMath(EVT VT) const override { return true; }
----------------
arsenm wrote:
I would do this as a separate PR, the current test diffs mix in the effect of the new call and the new override
https://github.com/llvm/llvm-project/pull/127599
More information about the llvm-commits
mailing list