================ @@ -137,6 +137,10 @@ llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, Alloca = new llvm::AllocaInst(Ty, CGM.getDataLayout().getAllocaAddrSpace(), ArraySize, Name, AllocaInsertPt->getIterator()); + if (Alloca->getName() != Name.str() && ---------------- vitalybuka wrote:
It works with Release compiler. https://godbolt.org/z/93ojPGM64 ``` [32, 36) 'x' (line 7) <== Memory access at offset 32 is inside this variable ``` https://github.com/llvm/llvm-project/pull/119387 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits