mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 05:13:01 +00:00
Translate bit operations to English.
llvm-svn: 34868
This commit is contained in:
parent
a167e8f27b
commit
a0a23a645d
@ -1461,7 +1461,8 @@ namespace {
|
||||
|
||||
const IntegerType *Ty = CI->getType();
|
||||
LV = LT;
|
||||
add(O.LHS, ConstantInt::get(Ty->getMask().lshr(1)),
|
||||
add(O.LHS, ConstantInt::get(
|
||||
APInt::getSignedMaxValue(Ty->getBitWidth())),
|
||||
ICmpInst::ICMP_UGT);
|
||||
} else if (LV == SGT && CI->getValue().isPositive()) {
|
||||
// i8 %x s> 5 implies %x > 5 and %x u< 128
|
||||
|
Loading…
Reference in New Issue
Block a user