Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=
Message-ID:
In-Reply-To:
https://github.com/s-perron approved this pull request.
https://github.com/llvm/llvm-project/pull/166952
Juan Manuel Martinez =?utf-8?q?Caamaño?=,
Juan Manuel Martinez =?utf-8?q?Caamaño?=,
Juan Manuel Martinez =?utf-8?q?Caamaño?Message-ID:
In-Reply-To:
s-perron wrote:
> > I'm wondering if you need to change all 0-sized array or not. If so, we
> > might want to centralize the conversion of 0-sized
Juan Manuel Martinez =?utf-8?q?Caamaño?=,
Juan Manuel Martinez =?utf-8?q?Caamaño?=,
Juan Manuel Martinez =?utf-8?q?Caamaño?Message-ID:
In-Reply-To:
@@ -43,6 +44,29 @@ bool tryExtendLLVMBitcodeMarker(GlobalVariable &Bitcode) {
return true;
}
+bool tryExtendDynamicLDSGlobal(
Juan Manuel Martinez =?utf-8?q?Caamaño?Message-ID:
In-Reply-To:
@@ -52,6 +76,9 @@ bool SPIRVPrepareGlobals::runOnModule(Module &M) {
if (GlobalVariable *Bitcode = M.getNamedGlobal("llvm.embedded.module"))
Changed |= tryExtendLLVMBitcodeMarker(*Bitcode);
+ for (GlobalV
Juan Manuel Martinez =?utf-8?q?Caamaño?Message-ID:
In-Reply-To:
@@ -43,6 +44,29 @@ bool tryExtendLLVMBitcodeMarker(GlobalVariable &Bitcode) {
return true;
}
+bool tryExtendDynamicLDSGlobal(GlobalVariable &GV) {
+ constexpr unsigned WorkgroupAS = 3;
s-perr
Juan Manuel Martinez =?utf-8?q?Caamaño?Message-ID:
In-Reply-To:
@@ -43,6 +44,29 @@ bool tryExtendLLVMBitcodeMarker(GlobalVariable &Bitcode) {
return true;
}
+bool tryExtendDynamicLDSGlobal(GlobalVariable &GV) {
+ constexpr unsigned WorkgroupAS = 3;
+ const bool IsWorkgro
Juan Manuel Martinez =?utf-8?q?Caamaño?Message-ID:
In-Reply-To:
https://github.com/s-perron edited
https://github.com/llvm/llvm-project/pull/166952
___
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/
Juan Manuel Martinez =?utf-8?q?Caamaño?Message-ID:
In-Reply-To:
https://github.com/s-perron commented:
I'm wondering if you need to change all 0-sized array or not. If so, we might
want to centralize the conversion of 0-sized arrays. We could try to move the
code that changes them to 1 elemen
@@ -0,0 +1,64 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.6-compute
-finclude-default-header \
+// RUN: -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s
-check-prefixes=CHECK,DXIL
+// RUN: %clang_cc1 -finclude-default-header -triple
spirv-unknown-vulkan-compute
https://github.com/s-perron approved this pull request.
https://github.com/llvm/llvm-project/pull/153257
___
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
s-perron wrote:
Could we add a test for SPIR-V to make sure it gets the correct address space
as well? They have different target info, so the are different code paths.
https://github.com/llvm/llvm-project/pull/123411
__
https://github.com/s-perron approved this pull request.
LGTM. The SPIR-V code seems correct. It would be useful to have a SPIR-V
specific test.
https://github.com/llvm/llvm-project/pull/123411
___
llvm-branch-commits mailing list
llvm-branch-commits@l
https://github.com/s-perron edited
https://github.com/llvm/llvm-project/pull/123411
___
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/s-perron approved this pull request.
https://github.com/llvm/llvm-project/pull/117018
___
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
14 matches
Mail list logo