[llvm] [NewGVN] Fix lifetime coercion (PR #141477)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon May 26 06:09:27 PDT 2025


https://github.com/nikic commented:

I think it would be a lot cleaner if we first handled the lifetime intrinsic case separately (because it does not return a pointer) and then the alloc/allocation cases (which do return a pointer). Mixing them makes it very non-obvious whether the interaction between all the conditions is correct.

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


More information about the llvm-commits mailing list