[clang] [llvm] [clang][SPIR-V] Add support for AMDGCN flavoured SPIRV (PR #89796)

Michal Paszkowski via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 5 10:36:33 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
----------------
michalpaszkowski wrote:

I am okay with either approach. I think we can assume that the core functionality will stay the same for all "flavors". In case of any changes in the future to this assumption, we could create larger tests covering multiple features, which will not provide any isolation value but just ensure the features are still there.

https://github.com/llvm/llvm-project/pull/89796


More information about the cfe-commits mailing list