Convert test to FileCheck.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132335 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Osborne 2011-05-31 14:00:05 +00:00
parent 74ee8ace0c
commit bc5fd67b53

View File

@ -1,8 +1,9 @@
; RUN: llc < %s -march=xcore > %t1.s
; RUN: grep bitrev %t1.s | count 1
; RUN: llc < %s -march=xcore | FileCheck %s
declare i32 @llvm.xcore.bitrev(i32)
define i32 @test(i32 %val) {
define i32 @bitrev(i32 %val) {
; CHECK: bitrev:
; CHECK: bitrev r0, r0
%result = call i32 @llvm.xcore.bitrev(i32 %val)
ret i32 %result
}