aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-09-24 16:06:32 +0000
committerJames Molloy <james.molloy@arm.com>2015-09-24 16:06:32 +0000
commitb6be1ebb7d53475c4edd88131efd52a84e1b6b23 (patch)
tree768162cdb68ab434730a0473eff68f25e23930c2 /llvm/lib/Support/TargetParser.cpp
parentbd432b2d04b2aa0a42ec6c222e898baed339980e (diff)
downloadllvm-b6be1ebb7d53475c4edd88131efd52a84e1b6b23.zip
llvm-b6be1ebb7d53475c4edd88131efd52a84e1b6b23.tar.gz
llvm-b6be1ebb7d53475c4edd88131efd52a84e1b6b23.tar.bz2
[ValueTracking] Teach isKnownNonZero a new trick
If the shifter operand is a constant, and all of the bits shifted out are known to be zero, then if X is known non-zero at least one non-zero bit must remain. llvm-svn: 248508
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions