OSDN Git Service

[InstCombine] add helper function for foldICmpWithConstant; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 15 Sep 2016 14:37:50 +0000 (14:37 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 15 Sep 2016 14:37:50 +0000 (14:37 +0000)
commit80554382ca127339c7a9133b9f5a4a51c82a178c
tree116914cf653874609af34f46cf629873c2a04ebe
parent0ee16969ab362f02f9de13e7a19ce86cf55335f1
[InstCombine] add helper function for foldICmpWithConstant; NFC

This is a big glob of transforms that probably should work for vectors,
but currently they are disallowed because of ConstantInt guards.

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