| Index: src/IceTargetLoweringX86BaseImpl.h
|
| diff --git a/src/IceTargetLoweringX86BaseImpl.h b/src/IceTargetLoweringX86BaseImpl.h
|
| index 2acd3312d9b9b74c6a30853cc7cabcab2d2ff59d..eee8f5d3eb79faf66275a9a539525b0255c15d21 100644
|
| --- a/src/IceTargetLoweringX86BaseImpl.h
|
| +++ b/src/IceTargetLoweringX86BaseImpl.h
|
| @@ -455,8 +455,8 @@ template <typename TraitsType> void TargetX86Base<TraitsType>::translateO2() {
|
| Func->dump("After LICM");
|
| }
|
|
|
| - if (getFlags().getEnableExperimental()) {
|
| - Func->localCSE();
|
| + if (getFlags().getLocalCSE() != Ice::LCSE_Disabled) {
|
| + Func->localCSE(getFlags().getLocalCSE() == Ice::LCSE_EnabledSSA);
|
| Func->dump("After Local CSE");
|
| }
|
| if (getFlags().getEnableShortCircuit()) {
|
|
|