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)
commit1fe643a6d766ee85e528681d42d5341859712a3e
treecd5eb691f55559195e65652a9954cdd9f54962b5
parentcab496d3a9a9f934823960134e5cbbf1db22088a
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.

llvm-svn: 315075
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CodeGenFunction.h