aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Parallel.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-05-11 00:46:09 +0000
committerCraig Topper <craig.topper@intel.com>2018-05-11 00:46:09 +0000
commit4b026e5ebdacf7fec3f57bc829728f175a61df97 (patch)
tree94abd5354a5ca502894b6ab2514fa4680d4c5510 /llvm/lib/Support/Parallel.cpp
parent9702c963ab3ab77cad2e1f1c917b058ddd645099 (diff)
downloadllvm-4b026e5ebdacf7fec3f57bc829728f175a61df97.zip
llvm-4b026e5ebdacf7fec3f57bc829728f175a61df97.tar.gz
llvm-4b026e5ebdacf7fec3f57bc829728f175a61df97.tar.bz2
[InstCombine] Add tests for cases where we don't recognize type promoted rotate idioms.
These rotates take the form (x << (n & mask)) | (x >> (-n & mask)) where mask is bitwidth - 1. If x has been promoted to a wider type than its original bit width due to type promotion we fail to narrower it and therefore don't recognize it as a rotate. llvm-svn: 332068
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions