aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-01-31 20:31:24 -0800
committerCraig Topper <craig.topper@sifive.com>2021-01-31 21:18:21 -0800
commit77f077b8c3b2e8bbf9b160d56194312e506dfe8f (patch)
treef6c4efbd3c239e7a7c1dddfb17addd0c5832c4c6 /clang/lib/Frontend/CompilerInvocation.cpp
parentbf416d166bdde187cf3b7e99888bcb4b95a93142 (diff)
downloadllvm-77f077b8c3b2e8bbf9b160d56194312e506dfe8f.zip
llvm-77f077b8c3b2e8bbf9b160d56194312e506dfe8f.tar.gz
llvm-77f077b8c3b2e8bbf9b160d56194312e506dfe8f.tar.bz2
[TableGen] Don't commute isel patterns if it would put an immAllOnesV or immAllZerosV on the left hand side.
This primarily occurs with isel patterns using vnot. This reduces the number of variants in the isel tables. We generally canonicalize build_vectors of constants to the RHS. I think we might fail if there is a bitcast on the build_vector, but that should be easy to fix if we can find a case. Usually the bitcast is introduced by type legalization or lowering. It's likely canonicalization would have already occured.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions