diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-06-13 09:57:52 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-06-13 09:57:52 +0000 |
commit | beca5f295cf6720add28ae40aa87378a86bf52a1 (patch) | |
tree | 5aae895ce9ee76a41683d444558fa2a67f58c496 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 7900ca1e7e80d85fc22fefdf8d723df16570017e (diff) | |
download | llvm-beca5f295cf6720add28ae40aa87378a86bf52a1.zip llvm-beca5f295cf6720add28ae40aa87378a86bf52a1.tar.gz llvm-beca5f295cf6720add28ae40aa87378a86bf52a1.tar.bz2 |
[Clang][X86] Convert non-temporal store builtins to generic __builtin_nontemporal_store in headers
We can now use __builtin_nontemporal_store instead of target specific builtins for naturally aligned nontemporal stores which avoids the need for handling in CGBuiltin.cpp
The scalar integer nontemporal (unaligned) store builtins will have to wait as __builtin_nontemporal_store currently assumes natural alignment and doesn't accept the 'packed struct' trick that we use for normal unaligned load/stores.
The nontemporal loads require further backend support before we can safely convert them to __builtin_nontemporal_load
Differential Revision: http://reviews.llvm.org/D21272
llvm-svn: 272540
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions