[PATCH] [PPC] Move argument range checks for HTM and crypto builtins to Sema

Kit Barton kbarton at ca.ibm.com
Fri Mar 27 13:50:07 PDT 2015


Hi rsmith, wschmidt, nemanjai, hfinkel, seurer,

The argument range checks for the HTM and Crypto builtins were implemented in CGBuiltin.cpp, not in Sema. This change moves them to the appropriate location in SemaChecking.cpp. It requires the creation of a new method in the Sema class to do checks for PPC-specific builtins.

http://reviews.llvm.org/D8672

Files:
  include/clang/Sema/Sema.h
  lib/CodeGen/CGBuiltin.cpp
  lib/Sema/SemaChecking.cpp
  test/CodeGen/builtins-ppc-crypto-diag.c
  test/Sema/builtins-ppc.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8672.22820.patch
Type: text/x-patch
Size: 12493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150327/cb2b1b6a/attachment.bin>


More information about the cfe-commits mailing list