diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-11-14 09:25:00 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-11-14 09:35:26 -0500 |
commit | 254c5246e9204f4d799f41c09068243e3a308177 (patch) | |
tree | d97af67e73aac344afb5ad9e18dc327f05b0d8d1 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | fce3eed9f93afac512d809c22234db7be7a9d478 (diff) | |
download | llvm-254c5246e9204f4d799f41c09068243e3a308177.zip llvm-254c5246e9204f4d799f41c09068243e3a308177.tar.gz llvm-254c5246e9204f4d799f41c09068243e3a308177.tar.bz2 |
[DAGCombiner] match inverted/swapped patterns for vselect of mask of signbit
This was noted as a follow-up to D113212 / D113426:
4fc1fc4005f7
7e30404c3b6c
11522cfcad6b
https://alive2.llvm.org/ce/z/e4o96b
The canonicalization rules for these IR patterns are complicated,
and we were not matching the expected forms in 2 out of the 3
cases. We can make codegen more robust by matching the swapped
forms (and that will also work if these patterns are created late).
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions