[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)
commit06b127a7716ae8197c6fc373e723891d248fb2f2
tree4f3997a6be978e6f42280c41148cc54d367b723f
parent7577a3d799b7fd66a9053f6059dcd5877e9d56e5
[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.

llvm-svn: 281614
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h