[all-commits] [llvm/llvm-project] 0508c9: [clang] Turn -fno-builtin flag into an IR Attribute

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Dec 12 08:21:45 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0508c994f0b14144041f2cfd3ba9f9a80f03de08
      https://github.com/llvm/llvm-project/commit/0508c994f0b14144041f2cfd3ba9f9a80f03de08
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2019-12-12 (Thu, 12 Dec 2019)

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

  Log Message:
  -----------
  [clang] Turn -fno-builtin flag into an IR Attribute

Summary:
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.

Reviewers: aaron.ballman, courbet

Subscribers: cfe-commits, tejohnson

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71193




More information about the All-commits mailing list