diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-09-12 12:03:21 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-09-12 12:28:34 -0400 |
commit | 4ca25c66d41ab136d1587b33571d3e58cd5989f8 (patch) | |
tree | 06e3bf3918cb88c3805eff85557be851939a95ba /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | eb2ac0a3c98d118600a7bd37adf376c3e4feacf9 (diff) | |
download | llvm-4ca25c66d41ab136d1587b33571d3e58cd5989f8.zip llvm-4ca25c66d41ab136d1587b33571d3e58cd5989f8.tar.gz llvm-4ca25c66d41ab136d1587b33571d3e58cd5989f8.tar.bz2 |
[Reassociate] prevent partial undef negation replacement
As shown in the examples in issue #57683, we allow matching
vectors with poison (undef) in this transform (and possibly more),
but we can't then use the partially defined value as a replacement
value in other expressions blindly.
This seems to be avoided in simpler examples of reassociation,
and other passes should be able to clean up the redundant op
seen in these tests.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions