[PATCH] D12313: Introduce __builtin_nontemporal_store and __builtin_nontemporal_load.

Michael Zolotukhin via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 27 22:51:10 PDT 2015


mzolotukhin updated this revision to Diff 33396.
mzolotukhin added a comment.

Address review remarks:

- Remove typed versions - indeed, we don't need them.
- Allow vector types.
- Properly handle bool-type (promote i1 to i8).
- Check arguments number.
- Simplify SemaBuiltinNontemporalOverloaded (as we don't use typed versions now).
- Add tests for vector and bool types.


http://reviews.llvm.org/D12313

Files:
  include/clang/Basic/Builtins.def
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/CodeGen/CGBuiltin.cpp
  lib/Sema/SemaChecking.cpp
  test/CodeGen/Nontemporal.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12313.33396.patch
Type: text/x-patch
Size: 11227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150828/125a3347/attachment-0001.bin>


More information about the cfe-commits mailing list