@@ -8233,6 +8233,7 @@ static Instruction *foldFCmpWithFloorAndCeil(FCmpInst &I,
8233
8233
return new FCmpInst (FCmpInst::FCMP_ULE, LHS,
8234
8234
ConstantFP::getInfinity (LHS->getType (), false ), " " ,
8235
8235
&I);
8236
+ break ;
8236
8237
case FCmpInst::FCMP_UGT:
8237
8238
// fcmp ugt floor(x), x => fcmp ugt -inf, x
8238
8239
// fcmp ugt x, ceil(x) => fcmp ugt x, inf
@@ -8244,6 +8245,7 @@ static Instruction *foldFCmpWithFloorAndCeil(FCmpInst &I,
8244
8245
return new FCmpInst (FCmpInst::FCMP_UGT, LHS,
8245
8246
ConstantFP::getInfinity (LHS->getType (), false ), " " ,
8246
8247
&I);
8248
+ break ;
8247
8249
case FCmpInst::FCMP_UGE:
8248
8250
// fcmp uge x, floor(x) => fcmp uge x, -inf
8249
8251
// fcmp uge ceil(x), x => fcmp uge inf, x
@@ -8255,6 +8257,7 @@ static Instruction *foldFCmpWithFloorAndCeil(FCmpInst &I,
8255
8257
return new FCmpInst (FCmpInst::FCMP_UGE,
8256
8258
ConstantFP::getInfinity (RHS->getType (), false ), RHS,
8257
8259
" " , &I);
8260
+ break ;
8258
8261
case FCmpInst::FCMP_ULT:
8259
8262
// fcmp ult x, floor(x) => fcmp ult x, -inf
8260
8263
// fcmp ult ceil(x), x => fcmp ult inf, x
@@ -8266,6 +8269,7 @@ static Instruction *foldFCmpWithFloorAndCeil(FCmpInst &I,
8266
8269
return new FCmpInst (FCmpInst::FCMP_ULT,
8267
8270
ConstantFP::getInfinity (RHS->getType (), false ), RHS,
8268
8271
" " , &I);
8272
+ break ;
8269
8273
default :
8270
8274
break ;
8271
8275
}
0 commit comments