mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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