[flang-commits] [flang] [flang] add nsw to operations in subscripts (PR #110060)

Yusuke MINATO via flang-commits flang-commits at lists.llvm.org
Thu Sep 26 05:06:55 PDT 2024


================
@@ -156,3 +156,20 @@ subroutine bge_test11(c)
   ! CHECK: %[[V:.*]] = fir.convert %[[R]] : (i1) -> !fir.logical<4>
   ! CHECK: fir.store %[[V]] to %[[C]] : !fir.ref<!fir.logical<4>>
 end subroutine bge_test11
+
+! CHECK-LABEL: bge_test12
----------------
yus3710-fj wrote:

Thank you for your advice. I'll create another test file and add `-fwrapv` to the `RUN` command.

https://github.com/llvm/llvm-project/pull/110060


More information about the flang-commits mailing list