[all-commits] [llvm/llvm-project] b91a25: [flang] add nsw to operations in subscripts (#110060)

Yusuke MINATO via All-commits all-commits at lists.llvm.org
Wed Oct 2 18:56:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b91a25ef58160acd296e87cf89a92fafd26b64ef
      https://github.com/llvm/llvm-project/commit/b91a25ef58160acd296e87cf89a92fafd26b64ef
  Author: Yusuke MINATO <minato.yusuke at fujitsu.com>
  Date:   2024-10-03 (Thu, 03 Oct 2024)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Lower/LoweringOptions.def
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    A flang/test/Lower/nsw.f90
    M flang/tools/bbc/bbc.cpp
    M flang/unittests/Optimizer/Builder/FIRBuilderTest.cpp

  Log Message:
  -----------
  [flang] add nsw to operations in subscripts (#110060)

This patch adds nsw to operations when lowering subscripts.

See also the discussion in the following discourse post.
https://discourse.llvm.org/t/rfc-add-nsw-flags-to-arithmetic-integer-operations-using-the-option-fno-wrapv/77584/9



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list