mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Convert test to FileCheck.
llvm-svn: 132335
This commit is contained in:
parent
e9562b6cbc
commit
d84d3d1068
@ -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