================
@@ -146,11 +146,12 @@ void CommonSPIRABIInfo::setCCs() {
}
ABIArgInfo SPIRVABIInfo::classifyKernelArgumentType(QualType Ty) const {
- if (getContext().getLangOpts().isTargetDevice()) {
+ if (getContext().getLangOpts().isTargetDevice() ||
+ getTarget().getTriple().getVendor() == llvm::Triple::Intel) {
----------------
sarnex wrote:
Done in latest commit. This function only runs for `SPIR-V` (not for `SPIR`),
so if all `SPIR-V` execution environments should behave this way we don't need
any checks.
https://github.com/llvm/llvm-project/pull/185498
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits