[clang] [llvm] [clang][SPIR-V] Add support for AMDGCN flavoured SPIRV (PR #89796)
Alexey Bader via cfe-commits
cfe-commits at lists.llvm.org
Thu May 30 13:24:27 PDT 2024
================
@@ -1,4 +1,5 @@
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
+; RUN: llc -O0 -mtriple=spirv64-amd-amdhsa %s -o - | FileCheck %s
----------------
bader wrote:
I'm not sure if there is a value in testing `spirv64-amd-amdhsa` triple in addition to `spirv64-unknown-unknown` for most of llvm/test/CodeGen/SPIRV tests. It makes sense to extend testing for vendor extensions mentioned in the description, but I suppose most of the tests cover core functionality which should work any `spir64-*` triple. Am I right?
https://github.com/llvm/llvm-project/pull/89796
More information about the cfe-commits
mailing list