llvm.org GIT mirror llvm / 0e52f46
Make sure to not get AVX code on an AVX-capable host. Revealed in r167967. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167989 91177308-0d34-0410-b5e6-96231b3b80d8 Jakub Staszak 7 years ago
4 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
0 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s -check-prefix=X64
11 ; X64-NOT: movsq
22 ; X64: rep
33 ; X64-NOT: rep
1111
1212 ; Win64 has not supported byval yet.
1313
14 ; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X32
14 ; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
1515 ; X32-NOT: movsl
1616 ; X32: rep
1717 ; X32-NOT: rep
None ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
0 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s -check-prefix=X64
11 ; X64-NOT: movsq
22 ; X64: rep
33 ; X64-NOT: rep
1111
1212 ; Win64 has not supported byval yet.
1313
14 ; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X32
14 ; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
1515 ; X32-NOT: movsl
1616 ; X32: rep
1717 ; X32-NOT: rep
None ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
0 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s -check-prefix=X64
11 ; X64-NOT: movsq
22 ; X64: rep
33 ; X64-NOT: rep
1111
1212 ; Win64 has not supported byval yet.
1313
14 ; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X32
14 ; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
1515 ; X32-NOT: movsl
1616 ; X32: rep
1717 ; X32-NOT: rep
None ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
0 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s -check-prefix=X64
11 ; X64-NOT: movsq
22 ; X64: rep
33 ; X64-NOT: rep
1111
1212 ; Win64 has not supported byval yet.
1313
14 ; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X32
14 ; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
1515 ; X32-NOT: movsl
1616 ; X32: rep
1717 ; X32-NOT: rep