[all-commits] [llvm/llvm-project] 20744d: [CIR] Drop res_attrs when a rewritten return has n...
Adam Smith via All-commits
all-commits at lists.llvm.org
Wed Sep 9 15:07:39 PDT 2026
Branch: refs/heads/users/adams381/cir-callconv-x86_64-bitint-wide
Home: https://github.com/llvm/llvm-project
Commit: 20744da19e9fd484d5c8cc267b384bf228948637
https://github.com/llvm/llvm-project/commit/20744da19e9fd484d5c8cc267b384bf228948637
Author: Adam Smith <adams at nvidia.com>
Date: 2026-09-09 (Wed, 09 Sep 2026)
Changed paths:
M clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
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
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