OSDN Git Service

[InstCombine] remove icmp shr folds that are already handled by InstSimplify
authorSanjay Patel <spatel@rotateright.com>
Tue, 23 Aug 2016 21:01:35 +0000 (21:01 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 23 Aug 2016 21:01:35 +0000 (21:01 +0000)
commit4cc20beb7037b179d410f1c22d1eae6fb6f6352d
treebeacbb2d0ea6dafabce05e5aa8d030488f0654c3
parent2a105605e344121de62a3efd023b1b6aa7d550f6
[InstCombine] remove icmp shr folds that are already handled by InstSimplify

AFAICT, these already worked in all cases for scalar types, and I enhanced
the code to work for vector types in:
https://reviews.llvm.org/rL279543

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