[clang] [clang] Recover necessary AddrSpaceCast (PR #119246)
Youngsuk Kim via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 16 07:31:54 PST 2024
================
@@ -0,0 +1,17 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -target-cpu x86-64 -disable-llvm-passes -fopenmp-targets=amdgcn-amd-amdhsa -x c++ -emit-llvm-bc %s -o %t-x86-host.bc
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -target-cpu gfx906 -fopenmp -nogpulib -fopenmp-is-target-device -fopenmp-host-ir-file-path %t-x86-host.bc -x c++ -emit-llvm %s -o - | FileCheck %s
----------------
JOE1994 wrote:
Thank you for your feedback! I've pushed another follow-up commit.
https://github.com/llvm/llvm-project/pull/119246
More information about the cfe-commits
mailing list