diff options
author | Dale Johannesen <dalej@apple.com> | 2010-11-19 21:49:38 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-11-19 21:49:38 +0000 |
commit | 76eb5f2401125c358eaf5e97a223a78ad4cc99e9 (patch) | |
tree | f1b340da40b6e4f4f6a413f3e4857386a944ce04 /test/CodeGen/X86 | |
parent | 953557f445ba749e0ec95e43bc5143849d1fd99b (diff) | |
download | external_llvm-76eb5f2401125c358eaf5e97a223a78ad4cc99e9.zip external_llvm-76eb5f2401125c358eaf5e97a223a78ad4cc99e9.tar.gz external_llvm-76eb5f2401125c358eaf5e97a223a78ad4cc99e9.tar.bz2 |
Prefetch has a MemOperand now. FileCheckize a test.
This finishes up 8460971.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/prefetch.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/X86/prefetch.ll b/test/CodeGen/X86/prefetch.ll index fac5915..48d2673 100644 --- a/test/CodeGen/X86/prefetch.ll +++ b/test/CodeGen/X86/prefetch.ll @@ -1,11 +1,11 @@ -; RUN: llc < %s -march=x86 -mattr=+sse > %t -; RUN: grep prefetchnta %t -; RUN: grep prefetcht0 %t -; RUN: grep prefetcht1 %t -; RUN: grep prefetcht2 %t +; RUN: llc < %s -march=x86 -mattr=+sse | FileCheck %s define void @t(i8* %ptr) nounwind { entry: +; CHECK: prefetcht2 +; CHECK: prefetcht1 +; CHECK: prefetcht0 +; CHECK: prefetchnta tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 1 ) tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 2 ) tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 3 ) |