[all-commits] [llvm/llvm-project] c57b9c: [CIR] Generate the nsw flag correctly for unary op...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Wed Apr 2 15:49:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c57b9c233a87f37e034445596ed09260cc6b23f5
      https://github.com/llvm/llvm-project/commit/c57b9c233a87f37e034445596ed09260cc6b23f5
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/test/CIR/CodeGen/unary.cpp
    A clang/test/CIR/IR/unary.cir

  Log Message:
  -----------
  [CIR] Generate the nsw flag correctly for unary ops (#133815)

A previous checkin used a workaround to generate the nsw flag where
needed for unary ops. This change upstreams a subsequent change that was
made in the incubator to generate the flag correctly.



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