]> granicus.if.org Git - clang/commit
Split X86::BI__builtin_cpu_init handling into own function[NFC]
authorErich Keane <erich.keane@intel.com>
Fri, 6 Oct 2017 16:40:45 +0000 (16:40 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 6 Oct 2017 16:40:45 +0000 (16:40 +0000)
commit2d90907990de40ed3f08b472edfccce20ac14a1c
tree6dc870b6442689c71207ad7ef1c8ec5ee68bb3e0
parent4c2015e24d03913fedb0ac31ee6426dbfafb5e38
Split X86::BI__builtin_cpu_init handling into own function[NFC]

The Cpu Init functionality is required for the target
attribute, so this patch simply splits it out into its own
function, exactly like CpuIs and CpuSupports.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315075 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CodeGenFunction.h