aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-06-17 07:09:32 +0000
committerEric Christopher <echristo@gmail.com>2015-06-17 07:09:32 +0000
commit9fc7fb274e5341b14c71487cf413343439581d50 (patch)
treeddcf2cfc2d8360d41de6d401ea0f7cb127e69961 /llvm/lib/CodeGen/MachineInstr.cpp
parent4d185168e9dbc4da5c6849062815b4338f3aeb99 (diff)
downloadllvm-9fc7fb274e5341b14c71487cf413343439581d50.zip
llvm-9fc7fb274e5341b14c71487cf413343439581d50.tar.gz
llvm-9fc7fb274e5341b14c71487cf413343439581d50.tar.bz2
Update the intel intrinsic headers to use the target attribute support.
This involved removing the conditional inclusion and replacing them with target attributes matching the original conditional inclusion and checks. The testcase update removes the macro checks for each file and replaces them with usage of the __target__ attribute, e.g.: int __attribute__((__target__(("sse3")))) foo(int a) { _mm_mwait(0, 0); return 4; } This usage does require the enclosing function have the requisite __target__ attribute for inlining and code generation - also for any macro intrinsic uses in the enclosing function. There's no change for existing uses of the intrinsic headers. llvm-svn: 239883
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions