[all-commits] [llvm/llvm-project] c4a8bd: [CIR] Drop res_attrs when a rewritten return has n...
Adam Smith via All-commits
all-commits at lists.llvm.org
Mon Sep 14 07:49:25 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4a8bda414e835652b3a75a83660e70419d0c8af
https://github.com/llvm/llvm-project/commit/c4a8bda414e835652b3a75a83660e70419d0c8af
Author: Adam Smith <adams at nvidia.com>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
A clang/test/CIR/CodeGen/call-conv-lowering-x86_64-sret-res-attrs.c
A clang/test/CIR/Transforms/abi-lowering/dropped-return-res-attrs.cir
Log Message:
-----------
[CIR] Drop res_attrs when a rewritten return has no result (#222465)
An Indirect return moves the value to an sret pointer argument the pass
inserts, and an Ignore return drops it, so the rewritten func or call
has no result for the per-result `res_attrs` array to describe. The
function rewrite and both call rewrites now remove it.
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