]> granicus.if.org Git - llvm/commit
[InstCombine] refactor shift-of-shift folds; NFCI
authorSanjay Patel <spatel@rotateright.com>
Mon, 16 Jan 2017 17:27:50 +0000 (17:27 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 16 Jan 2017 17:27:50 +0000 (17:27 +0000)
commit0f258723e9769f9f1769ad8e36d7f1a9099ca073
tree5aa553220d21b1515eb707166abbe47ee4b828b3
parent50d76a80ed48a91480bc8d95906cac5a5eda90c5
[InstCombine] refactor shift-of-shift folds; NFCI

Reduces code duplication and makes it easier to extend these folds for vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292145 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineShifts.cpp