diff options
author | Michael Liao <michael.liao@intel.com> | 2013-03-26 18:15:45 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2013-03-26 18:15:45 +0000 |
commit | af4c7300b93d0452be1c42724be061d814a923b7 (patch) | |
tree | f9c99d3b99e07146083b38f841847ba2d406714c /test/CodeGen | |
parent | 742dbc1fc83f713e139a2745ebb34a97c11c43bd (diff) |
Fix PRFCHW test on non-x86 builds
- 'prefetch' intrinsics are only lowered when SSE is available. On non-X86
builds, 'generic' CPU is used and stops lowering any prefetch intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/X86/prefetch.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/prefetch.ll b/test/CodeGen/X86/prefetch.ll index 12434a9a52..efb51913c5 100644 --- a/test/CodeGen/X86/prefetch.ll +++ b/test/CodeGen/X86/prefetch.ll @@ -1,6 +1,6 @@ ; RUN: llc < %s -march=x86 -mattr=+sse | FileCheck %s ; RUN: llc < %s -march=x86 -mattr=+avx | FileCheck %s -; RUN: llc < %s -march=x86 -mattr=+prfchw | FileCheck %s -check-prefix=PRFCHW +; RUN: llc < %s -march=x86 -mattr=+sse -mattr=+prfchw | FileCheck %s -check-prefix=PRFCHW ; rdar://10538297 |