Juan Manuel Martinez =?utf-8?q?CaamaƱo?= <[email protected]>,Manuel
Carrasco <[email protected]>,Manuel Carrasco
<[email protected]>,Manuel
Carrasco <[email protected]>,Manuel Carrasco
<[email protected]>,Manuel
Carrasco <[email protected]>,Manuel Carrasco
<[email protected]>,Manuel
Carrasco <[email protected]>,Manuel Carrasco <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================
@@ -995,7 +995,7 @@ inferOffloadToolchains(Compilation &C, Action::OffloadKind
Kind) {
StringRef Triple;
if (ID == OffloadArch::AMDGCNSPIRV)
- Triple = "spirv64-amd-amdhsa";
+ Triple = "spirv64v1.6-amd-amdhsa";
----------------
mgcarrasco wrote:
@shiltian thanks for all the feedback. I refactored the code so we have
`getSpirvBackendTriple()` which returns the hardcoded triple for the two uses
we have (here and in the
[Linker](https://github.com/llvm/llvm-project/pull/162282/files#diff-242dcb66348f860d8610bab6cf633f3bc158620853e0987ec2f1b47ee982719cR189)).
We could also write a function that returns the harcoded version, similar to
`getSpirvBackendTriple()`. Let me know what you think.
https://github.com/llvm/llvm-project/pull/162282
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits