[llvm] [AMDGPU] Legalize 64bit elements for BUILD_VECTOR on gfx942 (PR #145052)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 05:52:49 PST 2026
================
@@ -17497,6 +17536,95 @@ SDValue SITargetLowering::performSelectCombine(SDNode *N,
SelectLHS, SelectRHS);
}
+SDValue
+SITargetLowering::performBuildVectorCombine(SDNode *N,
+ DAGCombinerInfo &DCI) const {
+ // TODO: legalize for all targets instead of just v_mov_b64 enabled ones,
+ // legalizing could still enable s_mov_b64 which is supported on all targets.
----------------
arsenm wrote:
Capitalize, and this isn't legalization
https://github.com/llvm/llvm-project/pull/145052
More information about the llvm-commits
mailing list