mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Silence compiler warning about use of uninitialized variables (in reality these
are always set by reference on the path that uses them.) No functional change. llvm-svn: 65621
This commit is contained in:
parent
f5563f28d3
commit
44b8675102
@ -5822,7 +5822,7 @@ Instruction *InstCombiner::visitICmpInst(ICmpInst &I) {
|
||||
|
||||
// See if we are doing a comparison with a constant.
|
||||
if (ConstantInt *CI = dyn_cast<ConstantInt>(Op1)) {
|
||||
Value *A, *B;
|
||||
Value *A = 0, *B = 0;
|
||||
|
||||
// (icmp ne/eq (sub A B) 0) -> (icmp ne/eq A, B)
|
||||
if (I.isEquality() && CI->isNullValue() &&
|
||||
|
Loading…
Reference in New Issue
Block a user