mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
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:
parent
74ee8ace0c
commit
bc5fd67b53
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user