[llvm] [NVPTX] Check Before inserting AddrSpaceCastInst in NVPTXLoweringAlloca (PR #106127)
weiwei chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 19:34:10 PDT 2024
================
@@ -70,14 +70,30 @@ bool NVPTXLowerAlloca::runOnFunction(Function &F) {
for (auto &I : BB) {
if (auto allocaInst = dyn_cast<AllocaInst>(&I)) {
Changed = true;
+
----------------
weiweichen wrote:
Sure, done!
https://github.com/llvm/llvm-project/pull/106127
More information about the llvm-commits
mailing list