Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/misched-matrix.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | afa8332a0e37 |
children | c2174574ed3a |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
1 ; RUN: llc < %s -march=x86-64 -mcpu=core2 -pre-RA-sched=source -enable-misched \ | 1 ; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -pre-RA-sched=source -enable-misched \ |
2 ; RUN: -misched-topdown -verify-machineinstrs \ | 2 ; RUN: -misched-topdown -verify-machineinstrs \ |
3 ; RUN: | FileCheck %s -check-prefix=TOPDOWN | 3 ; RUN: | FileCheck %s -check-prefix=TOPDOWN |
4 ; RUN: llc < %s -march=x86-64 -mcpu=core2 -pre-RA-sched=source -enable-misched \ | 4 ; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -pre-RA-sched=source -enable-misched \ |
5 ; RUN: -misched=ilpmin -verify-machineinstrs \ | 5 ; RUN: -misched=ilpmin -verify-machineinstrs \ |
6 ; RUN: | FileCheck %s -check-prefix=ILPMIN | 6 ; RUN: | FileCheck %s -check-prefix=ILPMIN |
7 ; RUN: llc < %s -march=x86-64 -mcpu=core2 -pre-RA-sched=source -enable-misched \ | 7 ; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -pre-RA-sched=source -enable-misched \ |
8 ; RUN: -misched=ilpmax -verify-machineinstrs \ | 8 ; RUN: -misched=ilpmax -verify-machineinstrs \ |
9 ; RUN: | FileCheck %s -check-prefix=ILPMAX | 9 ; RUN: | FileCheck %s -check-prefix=ILPMAX |
10 ; | 10 ; |
11 ; Verify that the MI scheduler minimizes register pressure for a | 11 ; Verify that the MI scheduler minimizes register pressure for a |
12 ; uniform set of bottom-up subtrees (unrolled matrix multiply). | 12 ; uniform set of bottom-up subtrees (unrolled matrix multiply). |
15 ; been reordered with the stores. This tests the scheduler's cheap | 15 ; been reordered with the stores. This tests the scheduler's cheap |
16 ; alias analysis ability (that doesn't require any AliasAnalysis pass). | 16 ; alias analysis ability (that doesn't require any AliasAnalysis pass). |
17 ; | 17 ; |
18 ; TOPDOWN-LABEL: %for.body | 18 ; TOPDOWN-LABEL: %for.body |
19 ; TOPDOWN: movl %{{.*}}, ( | 19 ; TOPDOWN: movl %{{.*}}, ( |
20 ; TOPDOWN: imull {{[0-9]*}}( | 20 ; TOPDOWN-NOT: imull {{[0-9]*}}( |
21 ; TOPDOWN: movl %{{.*}}, 4( | 21 ; TOPDOWN: movl %{{.*}}, 4( |
22 ; TOPDOWN: imull {{[0-9]*}}( | 22 ; TOPDOWN-NOT: imull {{[0-9]*}}( |
23 ; TOPDOWN: movl %{{.*}}, 8( | 23 ; TOPDOWN: movl %{{.*}}, 8( |
24 ; TOPDOWN: movl %{{.*}}, 12( | 24 ; TOPDOWN: movl %{{.*}}, 12( |
25 ; TOPDOWN-LABEL: %for.end | 25 ; TOPDOWN-LABEL: %for.end |
26 ; | 26 ; |
27 ; For -misched=ilpmin, verify that each expression subtree is | 27 ; For -misched=ilpmin, verify that each expression subtree is |