llvm.org GIT mirror llvm / 0726926
misched: tag a few XFAILs that I plan to fix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153222 91177308-0d34-0410-b5e6-96231b3b80d8 Andrew Trick 8 years ago
5 changed file(s) with 28 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
+0
-20
test/CodeGen/Generic/misched.ll less more
None ; RUN: true
1 ; llc -enable-misched -misched=shuffle -misched-bottomup < %s
2 ;
3 ; Interesting MachineScheduler cases.
4
5 declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind
6
7 ; From oggenc.
8 ; After coalescing, we have a dead superreg (RAX) definition.
9 define fastcc void @_preextrapolate_helper() nounwind uwtable ssp {
10 entry:
11 br i1 undef, label %for.cond.preheader, label %if.end
12
13 for.cond.preheader: ; preds = %entry
14 call void @llvm.memcpy.p0i8.p0i8.i64(i8* undef, i8* null, i64 128, i32 4, i1 false) nounwind
15 unreachable
16
17 if.end: ; preds = %entry
18 ret void
19 }
0 ; XFAIL: *
1 ; ...should pass. See PR12324: misched bringup
12 ; RUN: llc < %s -march=x86-64 -O3 -asm-verbose=false | FileCheck %s
23 target datalayout = "e-p:64:64:64"
34 target triple = "x86_64-unknown-unknown"
0 ; RUN: llc -march=x86-64 -mcpu=core2 -enable-misched -misched=shuffle -misched-bottomup < %s
1 ; XFAIL: *
2 ; ...should pass. See PR12324: misched bringup
3 ;
4 ; Interesting MachineScheduler cases.
5
6 declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind
7
8 ; From oggenc.
9 ; After coalescing, we have a dead superreg (RAX) definition.
10 ;
11 ; CHECK: xorl %esi, %esi
12 ; CHECK: movl $32, %ecx
13 ; CHECK: rep;movsl
14 define fastcc void @_preextrapolate_helper() nounwind uwtable ssp {
15 entry:
16 br i1 undef, label %for.cond.preheader, label %if.end
17
18 for.cond.preheader: ; preds = %entry
19 call void @llvm.memcpy.p0i8.p0i8.i64(i8* undef, i8* null, i64 128, i32 4, i1 false) nounwind
20 unreachable
21
22 if.end: ; preds = %entry
23 ret void
24 }
0 ; XFAIL: *
1 ; ...should pass. See PR12324: misched bringup
12 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu > %t
23 ; RUN: not grep xor %t
34 ; RUN: not grep movap %t
0 ; XFAIL: *
1 ; ...should pass. See PR12324: misched bringup
12 ; RUN: llc < %s -march=x86-64 | FileCheck %s
23 ;
34