[llvm] [StackSafetyAnalysis] Don't call getTruncateOrZeroExtend for pointers of different sizes (PR #79804)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 29 02:50:48 PST 2024
================
@@ -273,6 +273,17 @@ ConstantRange StackSafetyLocalAnalysis::offsetFrom(Value *Addr, Value *Base) {
return UnknownRange;
auto *PtrTy = PointerType::getUnqual(SE.getContext());
----------------
Pierre-vh wrote:
I also found another use of `getUnqual` in this pass that still causes the assert to trip, so indeed seems like we should get rid of those instead. I'll try it
https://github.com/llvm/llvm-project/pull/79804
More information about the llvm-commits
mailing list