[all-commits] [llvm/llvm-project] 554e27: [CIR][NFC] Eliminate ArgInfo structure (#140612)
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Tue May 20 15:17:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 554e27ef69616fda5747a9d8137c9eb987857a12
https://github.com/llvm/llvm-project/commit/554e27ef69616fda5747a9d8137c9eb987857a12
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-05-20 (Tue, 20 May 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenCall.cpp
M clang/lib/CIR/CodeGen/CIRGenFunctionInfo.h
M clang/lib/CIR/CodeGen/CIRGenTypes.cpp
Log Message:
-----------
[CIR][NFC] Eliminate ArgInfo structure (#140612)
A previous refactoring had reduced the ArgInfo structure to contain a
single member, the argument type. This change eliminates the ArgInfo
structure entirely, instead just storing the argument type directly in
places where ArgInfo had previously been used.
This also updates the place where the arg types were previously being
copied for a call to CIRGenFunctionInfo::Profile to instead use the
stored argument types buffer directly and adds assertions where the
calculated folding set ID is used to verify that any match was correct.
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