Re: [PATCH] D17516: AMDGPU: Verify subtarget specific builtins

2016-06-07 Thread Matt Arsenault via cfe-commits
arsenm closed this revision. arsenm added a comment. r272091 http://reviews.llvm.org/D17516 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D17516: AMDGPU: Verify subtarget specific builtins

2016-06-07 Thread Eric Christopher via cfe-commits
echristo accepted this revision. echristo added a comment. This revision is now accepted and ready to land. Seems pretty reasonable. If I missed anything we can pick it up later. -eric Comment at: lib/Basic/Targets.cpp:2010 @@ +2009,3 @@ + + // XXX - What does the member GPU m

Re: [PATCH] D17516: AMDGPU: Verify subtarget specific builtins

2016-06-06 Thread Matt Arsenault via cfe-commits
arsenm added a comment. ping http://reviews.llvm.org/D17516 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D17516: AMDGPU: Verify subtarget specific builtins

2016-03-25 Thread Matt Arsenault via cfe-commits
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 rig

Re: [PATCH] D17516: AMDGPU: Verify subtarget specific builtins

2016-03-08 Thread Eric Christopher via cfe-commits
echristo added a comment. Replied inline, I hope this is helpful :) Comment at: lib/Basic/Targets.cpp:2059-2063 @@ +2058,7 @@ + + if (Has16BitInsts) +Features["16-bit-insts"] = true; + + if (hasSMemRealTime) +Features["s-memrealtime"] = true; + arsenm

Re: [PATCH] D17516: AMDGPU: Verify subtarget specific builtins

2016-02-22 Thread Matt Arsenault via cfe-commits
arsenm added inline comments. Comment at: lib/Basic/Targets.cpp:2059-2063 @@ +2058,7 @@ + + if (Has16BitInsts) +Features["16-bit-insts"] = true; + + if (hasSMemRealTime) +Features["s-memrealtime"] = true; + echristo wrote: > This is typically more of the

Re: [PATCH] D17516: AMDGPU: Verify subtarget specific builtins

2016-02-22 Thread Eric Christopher via cfe-commits
echristo added inline comments. Comment at: lib/Basic/Targets.cpp:1829 @@ -1820,2 +1828,3 @@ } + AddrSpaceMap = &AMDGPUAddrSpaceMap; Extra whitespace. Comment at: lib/Basic/Targets.cpp:2059-2063 @@ +2058,7 @@ + + if (Has16BitInsts) +

[PATCH] D17516: AMDGPU: Verify subtarget specific builtins

2016-02-22 Thread Matt Arsenault via cfe-commits
arsenm created this revision. arsenm added reviewers: tstellarAMD, echristo. arsenm added a subscriber: cfe-commits. Cleanup setup of subtarget features. http://reviews.llvm.org/D17516 Files: include/clang/Basic/BuiltinsAMDGPU.def lib/Basic/Targets.cpp test/CodeGenOpenCL/builtins-amdgcn-er