[llvm] [NVPTXLowerArgs] Add align attribute to return value of addrspace.wrap intrinsic (PR #153889)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 15 15:47:26 PDT 2025
================
@@ -1044,6 +1051,7 @@ static SDValue selectBaseADDR(SDValue N, SelectionDAG *DAG) {
}
static SDValue accumulateOffset(SDValue &Addr, SDLoc DL, SelectionDAG *DAG) {
+ Addr = stripAssertAlign(Addr);
----------------
AlexMaclean wrote:
We should probably strip the assert as part of the iteration of the below loop.
https://github.com/llvm/llvm-project/pull/153889
More information about the llvm-commits
mailing list