mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Convert CodeGen/*/*.ll tests to use the new CHECK-LABEL for easier debugging. No functionality change and all tests pass after conversion.
This was done with the following sed invocation to catch label lines demarking function boundaries:
sed -i '' "s/^;\( *\)\([A-Z0-9_]*\):\( *\)test\([A-Za-z0-9_-]*\):\( *\)$/;\1\2-LABEL:\3test\4:\5/g" test/CodeGen/*/*.ll
which was written conservatively to avoid false positives rather than false negatives. I scanned through all the changes and everything looks correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
; RUN: llc < %s -march=xcore | FileCheck %s
|
||||
define i1 @test(double %F) nounwind {
|
||||
entry:
|
||||
; CHECK: test:
|
||||
; CHECK-LABEL: test:
|
||||
; CHECK: xor
|
||||
%0 = fsub double -0.000000e+00, %F
|
||||
%1 = fcmp olt double 0.000000e+00, %0
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
declare i32 @llvm.xcore.getid()
|
||||
|
||||
define i32 @test() {
|
||||
; CHECK: test:
|
||||
; CHECK-LABEL: test:
|
||||
; CHECK: get r11, id
|
||||
; CHECK-NEXT: mov r0, r11
|
||||
%result = call i32 @llvm.xcore.getid()
|
||||
|
||||
@@ -227,14 +227,14 @@ define i32 @endin(i8 addrspace(1)* %r) {
|
||||
}
|
||||
|
||||
define i32 @testct(i8 addrspace(1)* %r) {
|
||||
; CHECK: testct:
|
||||
; CHECK-LABEL: testct:
|
||||
; CHECK: testct r0, res[r0]
|
||||
%result = call i32 @llvm.xcore.testct.p1i8(i8 addrspace(1)* %r)
|
||||
ret i32 %result
|
||||
}
|
||||
|
||||
define i32 @testwct(i8 addrspace(1)* %r) {
|
||||
; CHECK: testwct:
|
||||
; CHECK-LABEL: testwct:
|
||||
; CHECK: testwct r0, res[r0]
|
||||
%result = call i32 @llvm.xcore.testwct.p1i8(i8 addrspace(1)* %r)
|
||||
ret i32 %result
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; RUN: llc < %s -march=xcore | FileCheck %s
|
||||
define i32 @test() noreturn nounwind {
|
||||
entry:
|
||||
; CHECK: test:
|
||||
; CHECK-LABEL: test:
|
||||
; CHECK: ldc
|
||||
; CHECK: ecallf
|
||||
tail call void @llvm.trap( )
|
||||
|
||||
Reference in New Issue
Block a user