diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-12-05 09:47:17 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-12-05 09:57:07 -0500 |
commit | c65e651e6025dd04b69ea144a94962a5b4716681 (patch) | |
tree | 7d77130d11006d142427d9b48b079bba1404fae9 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 0bb8a97b41498860d60a06ad1df2758a36a580ca (diff) | |
download | llvm-c65e651e6025dd04b69ea144a94962a5b4716681.zip llvm-c65e651e6025dd04b69ea144a94962a5b4716681.tar.gz llvm-c65e651e6025dd04b69ea144a94962a5b4716681.tar.bz2 |
[InstSimplify] fix logic fold of 'or' for vectors
Reduce code duplication for commutative pattern matching
and fix a miscompile.
We can't safely propagate an undef element in this transform:
https://alive2.llvm.org/ce/z/s5xy55
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions