[llvm] [AMDGPU] Elide bitcast fold i64 imm to build_vector (PR #154115)
Janek van Oirschot via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 06:28:39 PDT 2025
================
@@ -5296,6 +5296,13 @@ SDValue AMDGPUTargetLowering::performRcpCombine(SDNode *N,
return DCI.DAG.getConstantFP(One / Val, SDLoc(N), N->getValueType(0));
}
+bool AMDGPUTargetLowering::canMov64bImm(uint64_t Val, SelectionDAG &DAG) const {
----------------
JanekvO wrote:
Renamed to `isInt64ImmLegal` and passed the SDNode as arg now
https://github.com/llvm/llvm-project/pull/154115
More information about the llvm-commits
mailing list