[all-commits] [llvm/llvm-project] c7a7a3: [CIR] Inline the res_attrs void-return condition

Adam Smith via All-commits all-commits at lists.llvm.org
Thu Sep 10 10:45:23 PDT 2026


  Branch: refs/heads/users/adams381/cir-callconv-dropped-return-res-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: c7a7a3b980144b6b9ee036d2749d4ef864e162a0
      https://github.com/llvm/llvm-project/commit/c7a7a3b980144b6b9ee036d2749d4ef864e162a0
  Author: Adam Smith <adams at nvidia.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp

  Log Message:
  -----------
  [CIR] Inline the res_attrs void-return condition

A cir.func with no results can only have res_attrs absent or empty, so
the emptiness guard this drops was protecting an invariant the result
attribute count check already enforces.

Assisted-by: Cursor / claude-opus-5



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