[PATCH] D109707: [HIP] [AlwaysInliner] Disable AlwaysInliner to eliminate undefined symbols

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 15 16:35:12 PDT 2021


MaskRay 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 | \
----------------
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.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109707/new/

https://reviews.llvm.org/D109707



More information about the cfe-commits mailing list