[all-commits] [llvm/llvm-project] 23104a: [CIR] Add nothrow attribute to the call operation ...

Sirui Mu via All-commits all-commits at lists.llvm.org
Thu Jul 3 07:54:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23104a74e79f208d467830058111fd883dfcb489
      https://github.com/llvm/llvm-project/commit/23104a74e79f208d467830058111fd883dfcb489
  Author: Sirui Mu <msrlancern at gmail.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
    M clang/include/clang/CIR/Dialect/IR/CIRDialect.td
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
    M clang/lib/CIR/CodeGen/CIRGenCall.cpp
    M clang/lib/CIR/CodeGen/CIRGenCall.h
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    M clang/test/CIR/CodeGen/builtin_call.cpp
    M clang/test/CIR/CodeGen/builtin_printf.cpp
    M clang/test/CIR/CodeGen/call.cpp

  Log Message:
  -----------
  [CIR] Add nothrow attribute to the call operation (#145178)

This patch adds extra function attributes to the `cir.call` operation.
The extra attributes now may contain a single `cir.nothrow` attribute
that indicates whether the callee throws.



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