[PATCH] D71193: [clang] Turn -fno-builtin flag into an IR Attribute

Guillaume Chatelet via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 9 03:34:14 PST 2019


gchatelet created this revision.
gchatelet added reviewers: aaron.ballman, courbet.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This is a follow up on https://reviews.llvm.org/D61634#1742154 to turn the clang driver -fno-builtin flag into an IR attribute.
I also investigated pushing the attribute earlier on (in Sema) but it looks like this patch is simple and will cover all function calls.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71193

Files:
  clang/lib/CodeGen/CGCall.cpp
  clang/test/CodeGen/libcalls-fno-builtin.c
  clang/test/CodeGen/memccpy-libcall.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71193.232799.patch
Type: text/x-patch
Size: 7971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191209/f39f7022/attachment.bin>


More information about the cfe-commits mailing list