[InstCombine] change param type from Instruction to BinaryOperator for icmp helpers...
authorSanjay Patel <spatel@rotateright.com>
Mon, 22 Aug 2016 21:24:29 +0000 (21:24 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 22 Aug 2016 21:24:29 +0000 (21:24 +0000)
commitc9196c44883cf3f36efd78994e815a0ef9e0ef46
tree684b116ed0eab0ed854475ea372cc50149b67bb6
parentf2187ed3210377902124b326957f8721bb58733a
[InstCombine] change param type from Instruction to BinaryOperator for icmp helpers; NFCI

This saves some casting in the helper functions and eases some further refactoring.

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