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

Alex Voicu via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 5 09:34:09 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
----------------
AlexVlx wrote:

I've rolled back most of these, except for a couple of places where there is a substantive difference (`spirv64-amdgcn-amdhsa` encodes the program address space in its DL, which yields slightly different IR in places).

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


More information about the cfe-commits mailing list