llvm.org GIT mirror llvm / 7bff3e7
Fix mistyped CHECK lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127366 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 9 years ago
7 changed file(s) with 10 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
22 ; RUN: grep roth %t1.s | count 8
33 ; RUN: grep roti.*5 %t1.s | count 1
44 ; RUN: grep roti.*27 %t1.s | count 1
5 ; RUN grep rothi.*5 %t1.s | count 2
6 ; RUN grep rothi.*11 %t1.s | count 1
7 ; RUN grep rothi.*,.3 %t1.s | count 1
5 ; RUN: grep rothi.*5 %t1.s | count 2
6 ; RUN: grep rothi.*11 %t1.s | count 1
7 ; RUN: grep rothi.*,.3 %t1.s | count 1
88 ; RUN: grep andhi %t1.s | count 4
99 ; RUN: grep shlhi %t1.s | count 4
1010 ; RUN: cat %t1.s | FileCheck %s
0 ; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -o %t1
1 ; RUN not grep {stw r31, -4(r1)} %t1
1 ; RUN: not grep {stw r31, -4(r1)} %t1
22 ; RUN: grep {stwu r1, -16448(r1)} %t1
33 ; RUN: grep {addi r1, r1, 16448} %t1
44 ; RUN: llc < %s -march=ppc32 | \
0 ; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -regalloc=fast -relocation-model=pic > %t2
11 ; RUN: grep {leaq.*TLSGD} %t2
2 ; RUN; grep {__tls_get_addr} %t2
2 ; RUN: grep {__tls_get_addr} %t2
33 ; PR4004
44
55 @i = thread_local global i32 15
44 define void @f() nounwind {
55 entry:
66 ; CHECK: f:
7 ; CHECK ldap r11, g.1101
8 ; CHECK stw r11, sp[7]
7 ; CHECK: ldap r11, g.1101
8 ; CHECK: stw r11, sp[7]
99 %TRAMP.23 = alloca [20 x i8], align 2
1010 %FRAME.0 = alloca %struct.FRAME.f, align 4
1111 %TRAMP.23.sub = getelementptr inbounds [20 x i8]* %TRAMP.23, i32 0, i32 0
379379
380380 ; PR9343 #1
381381 ; CHECK: @test39
382 ; CHECK %B = icmp eq i32 %X, 0
382 ; CHECK: %B = icmp eq i32 %X, 0
383383 define i1 @test39(i32 %X, i32 %Y) {
384384 %A = ashr exact i32 %X, %Y
385385 %B = icmp eq i32 %A, 0
216216 %A = urem i32 %X, %Y
217217 %B = icmp eq i32 %A, %Y
218218 ret i1 %B
219 ; CHECK ret i1 false
219 ; CHECK: ret i1 false
220220 }
221221
222222 define i1 @urem3(i32 %X) {
0 ; RUN: opt < %s -simplifycfg -S > %t
11 ; RUN: not grep {^BB.tomerge} %t
2 ; RUN grep {^BB.nomerge} %t | count 2
2 ; RUN: grep {^BB.nomerge} %t | count 2
33
44 ; ModuleID = ''
55 declare i1 @foo()