[llvm] Initialize PreferredAlign in Function (PR #192156)

Andrew Lenharth via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 09:03:03 PDT 2026


darthscsi wrote:

This does appear to be a long standing issue with std::optional and valgrind.  I found numerous bugs, including some in gcc, about warnings.  They seem related to the std::optional being on the stack allowing some reorderings due to knowing the load won't trap.  Then you get a comparison which only depends on initialized bits, but whose input has uninitialized bits.

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


More information about the llvm-commits mailing list