[llvm] AMDGPU: Shrink extracted dword vector loads (PR #203484)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 04:59:40 PDT 2026


================
@@ -16518,6 +16505,171 @@ bool SITargetLowering::shouldExpandVectorDynExt(SDNode *N) const {
       EltSize, NumElem, Idx->isDivergent(), getSubtarget());
 }
 
+// Return true if this load may select to an SMRD instruction.
----------------
arsenm wrote:

We repeat these conditions in several places 

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


More information about the llvm-commits mailing list