[all-commits] [llvm/llvm-project] 36c710: [CIR] Change default assumption about allowing bui...
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Fri Jun 13 09:43:20 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 36c710c40e8a59f74f56eb0e04e438cec5532ec5
https://github.com/llvm/llvm-project/commit/36c710c40e8a59f74f56eb0e04e438cec5532ec5
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-06-13 (Fri, 13 Jun 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
A clang/test/CIR/CodeGen/libc.c
Log Message:
-----------
[CIR] Change default assumption about allowing builtins (#144004)
The code to read the "nobuiltins" attributes hasn't been implemented
yet, but we were defaulting to the assumption that use of builtins is
allowed for function calls that we recognize as standard C library calls
and have builtin equivalents of. This change reverses that assumption so
that when such calls are encountered, we just emit the call. This is a
better default assumption, and since our builtin handling for these
functions isn't implemented yet, it also allows us to compile more
programs.
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