aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-07-09 09:20:58 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-07-09 09:20:58 +0000
commit72d76275ac85d7f172dd7b89fa4a9986022aca9f (patch)
treef55156302b9fd6b44d68603a541ba0659ef1bb6c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentb1f74a815294822f32b80210df64c6cf1492952d (diff)
downloadllvm-72d76275ac85d7f172dd7b89fa4a9986022aca9f.zip
llvm-72d76275ac85d7f172dd7b89fa4a9986022aca9f.tar.gz
llvm-72d76275ac85d7f172dd7b89fa4a9986022aca9f.tar.bz2
InstCombine: variations on 0xffffffff - x >= 4
The following transforms are valid if -C is a power of 2: (icmp ugt (xor X, C), ~C) -> (icmp ult X, C) (icmp ult (xor X, C), -C) -> (icmp uge X, C) These are nice, they get rid of the xor. llvm-svn: 185915
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions