Skip to content

Commit 95c427d

Browse files
Add TODO comment for AAPCS ABI check as requested
1 parent 6ff88bb commit 95c427d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/CIR/CodeGen/CIRGenExpr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ void CIRGenFunction::emitStoreOfScalar(mlir::Value value, Address addr,
322322
assert(!cir::MissingFeatures::opTBAA());
323323
}
324324

325+
// TODO: Replace this with a proper TargetInfo function call.
325326
/// Helper method to check if the underlying ABI is AAPCS
326327
static bool isAAPCS(const TargetInfo &targetInfo) {
327328
return targetInfo.getABI().starts_with("aapcs");

0 commit comments

Comments
 (0)