<p dir="ltr">Well you don't need a separate triple to handle an abi difference. TargetOptions can take an abi name. </p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Feb 5, 2016, 12:18 PM Matt Arsenault <<a href="mailto:Matthew.Arsenault@amd.com">Matthew.Arsenault@amd.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">arsenm added inline comments.<br>
<br>
================<br>
Comment at: lib/Support/Triple.cpp:451<br>
@@ -444,1 +450,3 @@<br>
+    .StartsWith("clover", Triple::Clover)<br>
+    .StartsWith("radeonsi", Triple::RadeonSI)<br>
     .Default(Triple::UnknownOS);<br>
----------------<br>
tstellarAMD wrote:<br>
> I'm not sure about this one.  It only really makes sense to use this with the amdgcn target.  It seems like maybe this should be something more generic (mesa?).<br>
Neither am I. Mesa should definitely be the vendor though, not the OS. Michel said on IRC that a mesa vulkan driver will probably end up using a different ABI, so we will probably need to distinguish those.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D16909" rel="noreferrer" target="_blank">http://reviews.llvm.org/D16909</a><br>
<br>
<br>
<br>
</blockquote></div>