[PATCH] D154188: [IRCE] Implement runtime overflow check for computed range's end

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 7 03:18:44 PDT 2023


skatkov accepted this revision.
skatkov added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp:1751
 
+  bool NeedEndOverlowRuntimeCheck = false;
   if (EndType->getBitWidth() > RCType->getBitWidth()) {
----------------
bool NeedEndOverlowRuntimeCheck  = EndType->getBitWidth() > RCType->getBitWidth();
if (NeedEndOverlowRuntimeCheck)

?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154188/new/

https://reviews.llvm.org/D154188



More information about the llvm-commits mailing list