mirror of https://github.com/microsoft/clang.git
Fix test regression in r341862
The commit updates when AES is enabled, but failed to update the tests. This patch fixes them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2195ee646
commit
fc73f1c464
|
@ -49,7 +49,7 @@ int __attribute__((target("arch=lakemont,mmx"))) use_before_def(void) {
|
|||
// CHECK: lake{{.*}} #7
|
||||
// CHECK: use_before_def{{.*}} #7
|
||||
// CHECK: #0 = {{.*}}"target-cpu"="i686" "target-features"="+x87"
|
||||
// CHECK: #1 = {{.*}}"target-cpu"="ivybridge" "target-features"="+aes,+avx,+cx16,+f16c,+fsgsbase,+fxsr,+mmx,+pclmul,+popcnt,+rdrnd,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsaveopt"
|
||||
// CHECK: #1 = {{.*}}"target-cpu"="ivybridge" "target-features"="+avx,+cx16,+f16c,+fsgsbase,+fxsr,+mmx,+pclmul,+popcnt,+rdrnd,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsaveopt"
|
||||
// CHECK: #2 = {{.*}}"target-cpu"="i686" "target-features"="+x87,-aes,-avx,-avx2,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vpopcntdq,-f16c,-fma,-fma4,-gfni,-pclmul,-sha,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-xop,-xsave,-xsaveopt"
|
||||
// CHECK: #3 = {{.*}}"target-cpu"="i686" "target-features"="+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87"
|
||||
// CHECK: #4 = {{.*}}"target-cpu"="i686" "target-features"="+x87,-avx,-avx2,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vpopcntdq,-f16c,-fma,-fma4,-sse4.1,-sse4.2,-vaes,-vpclmulqdq,-xop,-xsave,-xsaveopt"
|
||||
|
|
|
@ -417,7 +417,6 @@
|
|||
// RUN: %clang -march=corei7-avx -m32 -E -dM %s -o - 2>&1 \
|
||||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_COREI7_AVX_M32
|
||||
// CHECK_COREI7_AVX_M32: #define __AES__ 1
|
||||
// CHECK_COREI7_AVX_M32: #define __AVX__ 1
|
||||
// CHECK_COREI7_AVX_M32: #define __MMX__ 1
|
||||
// CHECK_COREI7_AVX_M32: #define __PCLMUL__ 1
|
||||
|
@ -441,7 +440,6 @@
|
|||
// RUN: %clang -march=corei7-avx -m64 -E -dM %s -o - 2>&1 \
|
||||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_COREI7_AVX_M64
|
||||
// CHECK_COREI7_AVX_M64: #define __AES__ 1
|
||||
// CHECK_COREI7_AVX_M64: #define __AVX__ 1
|
||||
// CHECK_COREI7_AVX_M64: #define __MMX__ 1
|
||||
// CHECK_COREI7_AVX_M64: #define __PCLMUL__ 1
|
||||
|
@ -468,7 +466,6 @@
|
|||
// RUN: %clang -march=core-avx-i -m32 -E -dM %s -o - 2>&1 \
|
||||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE_AVX_I_M32
|
||||
// CHECK_CORE_AVX_I_M32: #define __AES__ 1
|
||||
// CHECK_CORE_AVX_I_M32: #define __AVX__ 1
|
||||
// CHECK_CORE_AVX_I_M32: #define __F16C__ 1
|
||||
// CHECK_CORE_AVX_I_M32: #define __MMX__ 1
|
||||
|
@ -492,7 +489,6 @@
|
|||
// RUN: %clang -march=core-avx-i -m64 -E -dM %s -o - 2>&1 \
|
||||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE_AVX_I_M64
|
||||
// CHECK_CORE_AVX_I_M64: #define __AES__ 1
|
||||
// CHECK_CORE_AVX_I_M64: #define __AVX__ 1
|
||||
// CHECK_CORE_AVX_I_M64: #define __F16C__ 1
|
||||
// CHECK_CORE_AVX_I_M64: #define __MMX__ 1
|
||||
|
@ -519,7 +515,6 @@
|
|||
// RUN: %clang -march=core-avx2 -m32 -E -dM %s -o - 2>&1 \
|
||||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE_AVX2_M32
|
||||
// CHECK_CORE_AVX2_M32: #define __AES__ 1
|
||||
// CHECK_CORE_AVX2_M32: #define __AVX2__ 1
|
||||
// CHECK_CORE_AVX2_M32: #define __AVX__ 1
|
||||
// CHECK_CORE_AVX2_M32: #define __BMI2__ 1
|
||||
|
@ -550,7 +545,6 @@
|
|||
// RUN: %clang -march=core-avx2 -m64 -E -dM %s -o - 2>&1 \
|
||||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE_AVX2_M64
|
||||
// CHECK_CORE_AVX2_M64: #define __AES__ 1
|
||||
// CHECK_CORE_AVX2_M64: #define __AVX2__ 1
|
||||
// CHECK_CORE_AVX2_M64: #define __AVX__ 1
|
||||
// CHECK_CORE_AVX2_M64: #define __BMI2__ 1
|
||||
|
@ -585,7 +579,6 @@
|
|||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BROADWELL_M32
|
||||
// CHECK_BROADWELL_M32: #define __ADX__ 1
|
||||
// CHECK_BROADWELL_M32: #define __AES__ 1
|
||||
// CHECK_BROADWELL_M32: #define __AVX2__ 1
|
||||
// CHECK_BROADWELL_M32: #define __AVX__ 1
|
||||
// CHECK_BROADWELL_M32: #define __BMI2__ 1
|
||||
|
@ -619,7 +612,6 @@
|
|||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BROADWELL_M64
|
||||
// CHECK_BROADWELL_M64: #define __ADX__ 1
|
||||
// CHECK_BROADWELL_M64: #define __AES__ 1
|
||||
// CHECK_BROADWELL_M64: #define __AVX2__ 1
|
||||
// CHECK_BROADWELL_M64: #define __AVX__ 1
|
||||
// CHECK_BROADWELL_M64: #define __BMI2__ 1
|
||||
|
@ -1557,7 +1549,6 @@
|
|||
// RUN: %clang -march=slm -m32 -E -dM %s -o - 2>&1 \
|
||||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SLM_M32
|
||||
// CHECK_SLM_M32: #define __AES__ 1
|
||||
// CHECK_SLM_M32: #define __FXSR__ 1
|
||||
// CHECK_SLM_M32: #define __MMX__ 1
|
||||
// CHECK_SLM_M32: #define __PCLMUL__ 1
|
||||
|
@ -1580,7 +1571,6 @@
|
|||
// RUN: %clang -march=slm -m64 -E -dM %s -o - 2>&1 \
|
||||
// RUN: -target i386-unknown-linux \
|
||||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SLM_M64
|
||||
// CHECK_SLM_M64: #define __AES__ 1
|
||||
// CHECK_SLM_M64: #define __FXSR__ 1
|
||||
// CHECK_SLM_M64: #define __MMX__ 1
|
||||
// CHECK_SLM_M64: #define __PCLMUL__ 1
|
||||
|
|
Loading…
Reference in New Issue