mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 12:55:45 +00:00
Whoops! Add missing NULL check.
llvm-svn: 31121
This commit is contained in:
parent
da7897a6c8
commit
5eec4941d1
@ -350,6 +350,7 @@ namespace {
|
||||
} break;
|
||||
case Instruction::Xor: {
|
||||
ConstantIntegral *CI = dyn_cast<ConstantIntegral>(V1);
|
||||
if (!CI) break;
|
||||
if (CI->isAllOnesValue()) {
|
||||
if (BO->getOperand(0) == V1)
|
||||
add(Opcode, ConstantBool::getFalse(), BO->getOperand(1), false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user