Move ashr optimization from InstCombineShift to InstSimplify.
authorSuyog Sarda <suyog.sarda@samsung.com>
Thu, 17 Jul 2014 06:28:15 +0000 (06:28 +0000)
committerSuyog Sarda <suyog.sarda@samsung.com>
Thu, 17 Jul 2014 06:28:15 +0000 (06:28 +0000)
commitc84f22aac5390a6a60579f56e894bab7fec94382
tree4264aef6681411cee157cca22e7a775aca62cd80
parent21a9a6658ef3bc799e5b54b09d58ecfa52312ce5
Move ashr optimization from InstCombineShift to InstSimplify.
Refactor code, no functionality change, test case moved from instcombine to instsimplify.

Differential Revision: http://reviews.llvm.org/D4102

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213231 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/ashr-nop.ll [deleted file]
test/Transforms/InstSimplify/ashr-nop.ll [new file with mode: 0644]