[llvm] [ValueTracking] Fix "getOperand() out of range!" assertion crash (PR #87482)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 01:48:44 PDT 2024


nikic wrote:

Not sure this is really the right fix. If a function has a noundef attribute on the return value, then it cannot have a void return. This looks more like a context problem, in that we're dealing with two different functions during inlining.

Maybe it's an acceptable workaround, but I'm not convinced it really addresses all issues that can arise from this.

https://github.com/llvm/llvm-project/pull/87482


More information about the llvm-commits mailing list