[PATCH] D17516: AMDGPU: Verify subtarget specific builtins

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 25 07:59:34 PDT 2016


arsenm updated this revision to Diff 51636.
arsenm added a comment.

Try to move more code into initFeatureMap.

I'm not sure how the booleans for features in the class are for now. X86 seems to have them, but it seems they are only used with user specified features? The only ones that matter right now don't depend on the subtarget, so I've left that in the constructor


http://reviews.llvm.org/D17516

Files:
  include/clang/Basic/BuiltinsAMDGPU.def
  lib/Basic/Targets.cpp
  lib/Driver/Tools.cpp
  test/CodeGenOpenCL/builtins-amdgcn-error.cl
  test/CodeGenOpenCL/builtins-amdgcn-vi.cl
  test/CodeGenOpenCL/builtins-amdgcn.cl
  test/SemaOpenCL/builtins-amdgcn.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17516.51636.patch
Type: text/x-patch
Size: 9772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160325/4151f883/attachment.bin>


More information about the cfe-commits mailing list