[PowerPC] turn off chain commoning by default.

This commit is contained in:
Chen Zheng 2021-11-01 04:07:17 +00:00
parent 2f7366c89d
commit eeed1545b2
3 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ static cl::opt<bool> PreferUpdateForm("ppc-formprep-prefer-update",
cl::desc("prefer update form when ds form is also a update form"));
static cl::opt<bool> EnableChainCommoning(
"ppc-formprep-chain-commoning", cl::init(true), cl::Hidden,
"ppc-formprep-chain-commoning", cl::init(false), cl::Hidden,
cl::desc("Enable chain commoning in PPC loop prepare pass."));
// Sum of following 3 per loop thresholds for all loops can not be larger

View File

@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -ppc-asm-full-reg-names -verify-machineinstrs \
; RUN: llc -ppc-asm-full-reg-names -verify-machineinstrs -ppc-formprep-chain-commoning \
; RUN: -mtriple=powerpc-ibm-aix-xcoff -mcpu=pwr9 < %s | FileCheck %s
; Test that on 32 bit AIX, the chain commoning still works without crash.

View File

@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -ppc-asm-full-reg-names -verify-machineinstrs \
; RUN: llc -ppc-asm-full-reg-names -verify-machineinstrs -ppc-formprep-chain-commoning \
; RUN: -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr9 < %s | FileCheck %s
; addresses: