[llvm] [Loads] Always pass down context in isSafeToLoadUnconditionally() (PR #201833)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 08:03:45 PDT 2026
nikic wrote:
> Orthogonally, one thing that I was wondering: could something similar be applied to isGuaranteedNotToBeUndefOrPoison() and allow the following when no DT is available?
That would be possible, but
> (Haven't much considered whether this may be practically beneficial or not)
I would indeed expect it to not be practically beneficial, because noundef assumptions are not used in practice...
https://github.com/llvm/llvm-project/pull/201833
More information about the llvm-commits
mailing list