forked from OSchip/llvm-project
[Inscombine] fix a signedness warning which broke -Werror builds
llvm-svn: 331944
This commit is contained in:
parent
2b248849ae
commit
913a779df2
|
@ -3635,7 +3635,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
|
|||
// fixed window of instructions to handle common cases with conditions
|
||||
// computed between guards.
|
||||
Instruction *NextInst = II->getNextNode();
|
||||
for (int i = 0; i < GuardWideningWindow; i++) {
|
||||
for (unsigned i = 0; i < GuardWideningWindow; i++) {
|
||||
// Note: Using context-free form to avoid compile time blow up
|
||||
if (!isSafeToSpeculativelyExecute(NextInst))
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue