[llvm] [GVN] Skip instructions without value numbers in performScalarPRE (PR #219851)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 01:06:08 PDT 2026


antoniofrighetto wrote:

> @antoniofrighetto Should I fix the `undef` in the test, or leave it?

That is fine. We are loading a value from an uninitialized stack-allocated object, GVN has simply folded this value to undef.

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


More information about the llvm-commits mailing list