[llvm] [AMDGPU] Widen sub-dword constant loads with dword alignment to match SelectionDAG behavior (PR #184790)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 10:54:38 PDT 2026
================
@@ -517,20 +517,14 @@ bool AMDGPULateCodeGenPrepare::visitLoadInst(LoadInst &LI) {
if (!isDWORDAligned(Base))
return false;
----------------
aobolensk wrote:
Done. Switched to isDereferenceableAndAlignedPointer, added negative tests
https://github.com/llvm/llvm-project/pull/184790
More information about the llvm-commits
mailing list