[all-commits] [llvm/llvm-project] 4acbf9: [CIR][CodeGen][NFCI] Move shared AST-only helpers ...
Henrich Lauko via All-commits
all-commits at lists.llvm.org
Tue Sep 22 01:24:49 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4acbf9b61c3f0579def4ebd1c1abca1048c4c378
https://github.com/llvm/llvm-project/commit/4acbf9b61c3f0579def4ebd1c1abca1048c4c378
Author: Henrich Lauko <xlauko at mail.muni.cz>
Date: 2026-09-22 (Tue, 22 Sep 2026)
Changed paths:
A clang/include/clang/CodeGenUtils/CallUtils.h
A clang/include/clang/CodeGenUtils/ClassUtils.h
A clang/include/clang/CodeGenUtils/ExprUtils.h
A clang/include/clang/CodeGenUtils/FunctionUtils.h
A clang/include/clang/CodeGenUtils/ItaniumCXXABIUtils.h
M clang/lib/CIR/CodeGen/CIRGenCall.cpp
M clang/lib/CIR/CodeGen/CIRGenClass.cpp
M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
M clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
M clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGClass.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/CodeGenUtils/CMakeLists.txt
A clang/lib/CodeGenUtils/CallUtils.cpp
A clang/lib/CodeGenUtils/ClassUtils.cpp
A clang/lib/CodeGenUtils/ExprUtils.cpp
A clang/lib/CodeGenUtils/FunctionUtils.cpp
A clang/lib/CodeGenUtils/ItaniumCXXABIUtils.cpp
Log Message:
-----------
[CIR][CodeGen][NFCI] Move shared AST-only helpers into CodeGenUtils (#223418)
Follow-up to PR #221001. Ten more helpers that both CodeGens had
equivalent copies of, several of them already marked "should be shared"
in
CIR.
Instead of growing CodeGenUtils.h, each helper goes in a header named
for
the classic CodeGen file it came from, with the CGExpr*.cpp family
sharing
ExprUtils.h. CIR's files mirror the classic ones, so the grouping reads
the
same from both sides.
CIR's getNoFPClassTestMask returned unsigned where classic returns
llvm::FPClassTest; the shared version keeps the classic return type.
Assisted-by: Claude Code (Claude Fable 5.1).
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