[llvm] [SROA]: Only defer trying partial sized ptr or ptr vector types (PR #82279)
Jeffrey Byrnes via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 10:34:12 PST 2024
jrbyrnes wrote:
There is no good way to capture the actual failure. This is because the failure depends on overwriting the reclaimed memory -- this is dependent upon malloc as well as hardware.
Instead, I've added an assert which enforces memory invariance to support the test. This is one of the conditions for the failure.
https://github.com/llvm/llvm-project/pull/82279
More information about the llvm-commits
mailing list