[PATCH] D89478: AMDGPU: Make sure both cc1 and cc1as process -m[no-]code-object-v3

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 10:05:48 PDT 2020


scott.linder added inline comments.


================
Comment at: clang/test/Driver/amdgpu-features-as.s:1
+// RUN: %clang -### -target amdgcn-amd-amdhsa -mcpu=gfx900 -mcode-object-v3 %s 2>&1 | FileCheck --check-prefix=CODE-OBJECT-V3 %s
+// CODE-OBJECT-V3: warning: argument '-mcode-object-v3' is deprecated, use '-mllvm --amdhsa-code-object-version=3' instead [-Wdeprecated]
----------------
Going along with Sam's request, can you add a test case for specifying multiple options?


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

https://reviews.llvm.org/D89478



More information about the llvm-commits mailing list