llvm.org GIT mirror llvm / d941e1c
Specify mtriple for the frame-order.ll test. Summary: original test may have different bahavior on different bot, specifically it broke llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast Reviewers: majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21931 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274368 91177308-0d34-0410-b5e6-96231b3b80d8 Dehao Chen 3 years ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc -march=x86 -disable-debug-info-print < %s | FileCheck %s
1 ; RUN: opt -strip -S < %s | llc -march=x86 -disable-debug-info-print | FileCheck %s
0 ; RUN: llc -mtriple=x86_64-linux-gnueabi -disable-debug-info-print < %s | FileCheck %s
1 ; RUN: opt -strip -S < %s | llc -mtriple=x86_64-linux-gnueabi -disable-debug-info-print | FileCheck %s
22
33 ; This test checks if the code is generated correctly with and without debug info.
44
4040 %tobool = icmp ne i32 %0, 0, !dbg !26
4141 br i1 %tobool, label %if.then, label %if.else, !dbg !27
4242
43 ;CHECK: movl [[REG:.*]], 24(%esp)
43 ;CHECK: movl [[REG:.*]], 20(%rsp)
4444 ;CHECK: je [[LABEL:.*]]
4545
4646 if.then: ; preds = %entry
5151 call void @capture(i32* %a), !dbg !31
5252 br label %if.end, !dbg !32
5353
54 ;CHECK: movl $3, 16(%esp)
54 ;CHECK: movl $3, 12(%rsp)
5555
5656 if.else: ; preds = %entry
5757 call void @llvm.dbg.declare(metadata i32* %b, metadata !33, metadata !16), !dbg !34
6262 br label %if.end
6363
6464 ;CHECK: [[LABEL]]:
65 ;CHECK: movl $3, 20(%esp)
65 ;CHECK: movl $3, 16(%rsp)
6666
6767 if.end: ; preds = %if.else, %if.then
6868 ret void, !dbg !37