aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-08-30 06:18:20 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-08-30 06:18:20 +0000
commit5e96f1b4c87ad5b7e4cf2d90155dfdb4521e344b (patch)
tree98d2a2cf3781f242d168dd23b8d43155de8ed8df /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent25816b0fddcc5244075eb982f77fed9c3bc48cbb (diff)
downloadllvm-5e96f1b4c87ad5b7e4cf2d90155dfdb4521e344b.zip
llvm-5e96f1b4c87ad5b7e4cf2d90155dfdb4521e344b.tar.gz
llvm-5e96f1b4c87ad5b7e4cf2d90155dfdb4521e344b.tar.bz2
InstCombine: Try harder to combine icmp instructions
consider: (and (icmp X, Y), (and Z, (icmp A, B))) It may be possible to combine (icmp X, Y) with (icmp A, B). If we successfully combine, create an 'and' instruction with Z. This fixes PR20814. N.B. There is room for improvement after this change but I'm not convinced it's worth chasing yet. llvm-svn: 216814
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions