diff options
author | Stefan Pintilie <stefanp@ca.ibm.com> | 2018-07-04 18:54:25 +0000 |
---|---|---|
committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2018-07-04 18:54:25 +0000 |
commit | cb4f0c5c07af1ce096c1609bd6576a0aee57700a (patch) | |
tree | 5123514d4ab99e117e3c0103b558b31551332f7f /llvm/test/CodeGen/PowerPC/select_const.ll | |
parent | bea19a9493b7286a0c79a8be2b788bed8cb4cfa9 (diff) | |
download | bcm5719-llvm-cb4f0c5c07af1ce096c1609bd6576a0aee57700a.tar.gz bcm5719-llvm-cb4f0c5c07af1ce096c1609bd6576a0aee57700a.zip |
[PowerPC] Replace the Post RA List Scheduler with the Machine Scheduler
We want to run the Machine Scheduler instead of the List Scheduler after RA.
Checked with a performance run on a Power 9 machine with SPEC 2006 and while
some benchmarks improved and others degraded the geomean was slightly improved
with the Machine Scheduler.
Differential Revision: https://reviews.llvm.org/D45265
llvm-svn: 336295
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/select_const.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/select_const.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/PowerPC/select_const.ll b/llvm/test/CodeGen/PowerPC/select_const.ll index fba4e1a6f10..8e0c482bab7 100644 --- a/llvm/test/CodeGen/PowerPC/select_const.ll +++ b/llvm/test/CodeGen/PowerPC/select_const.ll @@ -695,25 +695,25 @@ define i8 @sel_constants_xor_constant(i1 %cond) { define i8 @sel_constants_shl_constant(i1 %cond) { ; ISEL-LABEL: sel_constants_shl_constant: ; ISEL: # %bb.0: -; ISEL-NEXT: lis 5, 511 ; ISEL-NEXT: lis 4, 2047 +; ISEL-NEXT: lis 5, 511 ; ISEL-NEXT: andi. 3, 3, 1 ; ISEL-NEXT: ori 3, 4, 65535 -; ISEL-NEXT: ori 12, 5, 65535 +; ISEL-NEXT: ori 4, 5, 65535 ; ISEL-NEXT: sldi 3, 3, 5 -; ISEL-NEXT: sldi 4, 12, 7 +; ISEL-NEXT: sldi 4, 4, 7 ; ISEL-NEXT: isel 3, 4, 3, 1 ; ISEL-NEXT: blr ; ; NO_ISEL-LABEL: sel_constants_shl_constant: ; NO_ISEL: # %bb.0: -; NO_ISEL-NEXT: lis 5, 511 ; NO_ISEL-NEXT: lis 4, 2047 +; NO_ISEL-NEXT: lis 5, 511 ; NO_ISEL-NEXT: andi. 3, 3, 1 ; NO_ISEL-NEXT: ori 3, 4, 65535 -; NO_ISEL-NEXT: ori 12, 5, 65535 +; NO_ISEL-NEXT: ori 4, 5, 65535 ; NO_ISEL-NEXT: sldi 3, 3, 5 -; NO_ISEL-NEXT: sldi 4, 12, 7 +; NO_ISEL-NEXT: sldi 4, 4, 7 ; NO_ISEL-NEXT: bc 12, 1, .LBB36_1 ; NO_ISEL-NEXT: blr ; NO_ISEL-NEXT: .LBB36_1: |