[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:11:12 PDT 2024


================
@@ -1,4 +1,5 @@
 ! RUN: bbc -hlfir=false -o - %s | FileCheck %s
+! RUN: bbc -hlfir=false -fwrapv -o - %s | FileCheck %s --check-prefix=NO-NSW
----------------
yus3710-fj wrote:

I'd just like to confirm what you mean.
`nsw` is also added to operations when HLFIR lowering is disabled, and I added some tests for that. Do you mean only the tests are unnecessary, or the implementation for non HLFIR is also unnecessary?

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


More information about the flang-commits mailing list