gandhi21299 added inline comments.
================ Comment at: clang/test/CodeGenCUDA/amdgpu-alias-undef-symbols.cu:3 + +// RUN: %clang -target x86_64-unknown-linux-gnu --offload-arch=gfx906 --cuda-device-only -nogpulib -nogpuinc -x hip -emit-llvm -S -o - %s \ +// RUN: -fgpu-rdc -O3 -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false | \ ---------------- MaskRay wrote: > non-driver tests prefer `%clang_cc1`. > > `%clang` invokes the driver and has varying behaviors on different platforms. > Include paths/resource dir may be quite different. Alias is not generated when I make the change to: ``` // RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -target-cpu gfx906 -aux-triple x86_64-unknown-linux-gnu \ // RUN: -x hip -fcuda-is-device -fgpu-rdc -O3 -mllvm -amdgpu-early-inline-all=true \ // RUN: -mllvm -amdgpu-function-calls=false -emit-llvm %s -o - | FileCheck %s ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109707/new/ https://reviews.llvm.org/D109707 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits