[Mlir-commits] [mlir] [mlir][LLVM] Switch `undef` for `poison` for uninitialized values (PR #125629)

Nikita Popov llvmlistbot at llvm.org
Thu Feb 6 07:43:45 PST 2025


nikic wrote:

> @nikic I went and looked, and, as best I can tell, everything that's about to become poison is being used as the initial value for a struct or some other object that'll be fully populated immediately afterwards.

Thanks for confirming!

> (I did find one use that flows into a bitcast that was unclear enough that I swapped it back to `undef`, though, so good question)

I think that one's fine: The bitcast is on the inserted value, not the vector.


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


More information about the Mlir-commits mailing list