|
1 |
| -# NOTE: This test verifies disable/enable instruction hoisting to hot blocks based on non-profile data |
2 |
| -# RUN: llc -run-pass early-machinelicm -mtriple=powerpc64le-unknown-linux-gnu -disable-hoisting-to-hotter-blocks=all -block-freq-ratio-threshold=100 %s -o - | FileCheck %s --check-prefix=CHECK-NO-HOIST |
3 |
| -# RUN: llc -run-pass early-machinelicm -mtriple=powerpc64le-unknown-linux-gnu -disable-hoisting-to-hotter-blocks=all -block-freq-ratio-threshold=100000000 %s -o - | FileCheck %s --check-prefix=CHECK-HOIST |
4 |
| -# RUN: llc -run-pass early-machinelicm -mtriple=powerpc64le-unknown-linux-gnu -disable-hoisting-to-hotter-blocks=pgo -block-freq-ratio-threshold=100 %s -o - | FileCheck %s --check-prefix=CHECK-HOIST |
5 |
| -# RUN: llc -run-pass early-machinelicm -mtriple=powerpc64le-unknown-linux-gnu -disable-hoisting-to-hotter-blocks=none -block-freq-ratio-threshold=100 %s -o - | FileCheck %s --check-prefix=CHECK-HOIST |
| 1 | +# NOTE: This test verifies disable/enable instruction hoisting to hot blocks |
| 2 | +# based on non-profile data |
| 3 | +# RUN: llc -run-pass early-machinelicm -mtriple=powerpc64le-unknown-linux-gnu \ |
| 4 | +# RUN: -verify-machineinstrs -disable-hoisting-to-hotter-blocks=all \ |
| 5 | +# RUN: -block-freq-ratio-threshold=100 %s -o - | FileCheck %s \ |
| 6 | +# RUN: --check-prefix=CHECK-NO-HOIST |
| 7 | +# RUN: llc -run-pass early-machinelicm -mtriple=powerpc64le-unknown-linux-gnu \ |
| 8 | +# RUN: -verify-machineinstrs -disable-hoisting-to-hotter-blocks=all \ |
| 9 | +# RUN: -block-freq-ratio-threshold=100000000 %s -o - | FileCheck %s \ |
| 10 | +# RUN: --check-prefix=CHECK-HOIST |
| 11 | +# RUN: llc -run-pass early-machinelicm -mtriple=powerpc64le-unknown-linux-gnu \ |
| 12 | +# RUN: -verify-machineinstrs -disable-hoisting-to-hotter-blocks=pgo \ |
| 13 | +# RUN: -block-freq-ratio-threshold=100 %s -o - | FileCheck %s \ |
| 14 | +# RUN: --check-prefix=CHECK-HOIST |
| 15 | +# RUN: llc -run-pass early-machinelicm -mtriple=powerpc64le-unknown-linux-gnu \ |
| 16 | +# RUN: -verify-machineinstrs -disable-hoisting-to-hotter-blocks=none \ |
| 17 | +# RUN: -block-freq-ratio-threshold=100 %s -o - | FileCheck %s \ |
| 18 | +# RUN: --check-prefix=CHECK-HOIST |
6 | 19 |
|
7 | 20 | --- |
|
8 | 21 | target datalayout = "e-m:e-i64:64-n32:64"
|
@@ -119,6 +132,7 @@ body: |
|
119 | 132 | bb.1.for.body.lr.ph:
|
120 | 133 | successors: %bb.3(0x80000000)
|
121 | 134 |
|
| 135 | + INLINEASM &"#NOTHING", 1, 12, implicit-def early-clobber $r2 |
122 | 136 | %11:crrc = CMPWI %7, 10
|
123 | 137 | %0:crbitrc = COPY %11.sub_gt
|
124 | 138 | %10:gprc = LI 0
|
|
0 commit comments