summaryrefslogtreecommitdiff
path: root/test/Transforms/InstSimplify/compare.ll
AgeCommit message (Expand)AuthorFilesLines
2011-03-12Teach ComputeMaskedBits about sub nsw.Benjamin Kramer1-0/+23
2011-03-11Teach ComputeMaskedBits about nsw on add. I don't think there's anything we canNick Lewycky1-0/+10
2011-03-09Fix mistyped CHECK lines.Benjamin Kramer1-1/+1
2011-03-09Add another micro-optimization. Apologies for the lack of refactoring, but INick Lewycky1-0/+8
2011-03-05Thread comparisons over udiv/sdiv/ashr/lshr exact and lshr nuw/nsw wheneverNick Lewycky1-0/+9
2011-03-04Revert broken srem logic from r126991.Nick Lewycky1-9/+0
2011-03-04Fold "icmp pred (srem X, Y), Y" like we do for urem. Handle signed comparisonsNick Lewycky1-0/+18
2011-03-04Teach instruction simplify to use constant ranges to solve problems of the formNick Lewycky1-4/+76
2011-03-01Optimize "icmp pred (urem X, Y), Y" --> true/false depending on pred. There'sNick Lewycky1-0/+16
2011-02-13Teach instsimplify that X+Y>=X+Z is the same as Y>=Z if neither side overflows,Duncan Sands1-0/+189