[PATCH] D149893: Rewrite LSV to handle longer chains.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 09:12:05 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp:897
+ getLoadStorePointerOperand(C[0].Inst), VecTy->getPointerTo(AS));
+ VecInst = Builder.CreateAlignedLoad(VecTy, Bitcast, Alignment);
+
----------------
Are we losing any invariant metadata after vectorization?
================
Comment at: llvm/test/Transforms/LoadStoreVectorizer/NVPTX/many_loads_stores.ll:24
+ %arg01096 = addrspacecast ptr %arg0 to ptr addrspace(1)
+ %0 = tail call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x(), !range !140
+ %1 = tail call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !range !141
----------------
Don't use anonymous values in tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149893/new/
https://reviews.llvm.org/D149893
More information about the llvm-commits
mailing list