OSDN Git Service

[InstCombine] refactor trunc(binop) transforms; NFCI
authorSanjay Patel <spatel@rotateright.com>
Sat, 5 Aug 2017 15:19:18 +0000 (15:19 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sat, 5 Aug 2017 15:19:18 +0000 (15:19 +0000)
commit1ca12abf840cf88401544a2c79a8e2ea9de04762
treeaa750a62e5de1d0947c0c381f317245cc4b09129
parentd47a4f24aa5518673daa36ddaedde78877b0b500
[InstCombine] refactor trunc(binop) transforms; NFCI

In addition to moving the shift transforms over, we may want to
detect too-wide rotate patterns here (PR34046).

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