]> granicus.if.org Git - llvm/commit
[InstCombine] add tests for potential (lshr(sext X), C) folds; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 21 May 2017 15:18:52 +0000 (15:18 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 21 May 2017 15:18:52 +0000 (15:18 +0000)
commit68ac6769cc9190b8286c2a798ab0ffa5ae034173
tree2c1fa7766637d4c75353621cdcf3c012b8ab7b75
parenta3d265074152853b435174b747fc8741eda446b5
[InstCombine] add tests for potential (lshr(sext X), C) folds; NFC

As discussed in:
https://reviews.llvm.org/D33338
...we may be able to remove a wider pattern match by doing these more
basic canonicalizations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303504 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/lshr.ll