]> granicus.if.org Git - clang/commitdiff
[PowerPC] Fix test with -fno-discard-value-names after rC358949
authorFangrui Song <maskray@google.com>
Tue, 23 Apr 2019 07:39:23 +0000 (07:39 +0000)
committerFangrui Song <maskray@google.com>
Tue, 23 Apr 2019 07:39:23 +0000 (07:39 +0000)
For the clang driver, -DLLVM_ENABLE_ASSERTIONS=off builds default to discard value names.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358953 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ppc-mmintrin.c

index 113594c540ac25aa33434155d33ea66cf04128fd..9d12b1fce03d6414acb3a94852f6d5993f727b3c 100644 (file)
@@ -1,9 +1,9 @@
 // REQUIRES: powerpc-registered-target
 
-// RUN: %clang -S -emit-llvm -DNO_WARN_X86_INTRINSICS -mcpu=pwr8 -target powerpc64-gnu-linux %s \
-// RUN:        -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | FileCheck %s --check-prefixes=CHECK,CHECK-BE
-// RUN: %clang -S -emit-llvm -DNO_WARN_X86_INTRINSICS -mcpu=pwr8 -target powerpc64le-gnu-linux %s \
-// RUN:        -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | FileCheck %s --check-prefixes=CHECK,CHECK-LE
+// RUN: %clang -S -emit-llvm -target powerpc64-gnu-linux -mcpu=pwr8 -DNO_WARN_X86_INTRINSICS %s \
+// RUN:   -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | FileCheck %s --check-prefixes=CHECK,CHECK-BE
+// RUN: %clang -S -emit-llvm -target powerpc64le-gnu-linux -mcpu=pwr8 -DNO_WARN_X86_INTRINSICS %s \
+// RUN:   -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | FileCheck %s --check-prefixes=CHECK,CHECK-LE
 
 #include <mmintrin.h>