commit | a88573cfc245b6ee885c42650c72aa4c1a102463 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Fri May 11 00:46:09 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Fri May 11 00:46:09 2018 +0000 |
tree | bda85817dde3553e7697680705daa948c775a98a | |
parent | fcfa4b82779686ecad7e525a4cdb05d5a76c8456 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332068 91177308-0d34-0410-b5e6-96231b3b80d8