OSDN Git Service

[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)
commit0fd3c95310ce5dfa4859fa3d07fa7ebf32854ec2
treed9d4d60f35aa133b9106b194c86180723345f4ae
parent22fca38c9c9dac29366250f789e8cb60cd0a4fd0
[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.

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