| Index: src/IceTargetLoweringX86BaseImpl.h
|
| diff --git a/src/IceTargetLoweringX86BaseImpl.h b/src/IceTargetLoweringX86BaseImpl.h
|
| index af05b7b8872180186500ab6d53d36526bc7d7389..38d256f7114775e6b9e405a2dd2794270c8e7ef2 100644
|
| --- a/src/IceTargetLoweringX86BaseImpl.h
|
| +++ b/src/IceTargetLoweringX86BaseImpl.h
|
| @@ -447,6 +447,10 @@ template <typename TraitsType> void TargetX86Base<TraitsType>::translateO2() {
|
| Func->localCSE();
|
| Func->dump("After Local CSE");
|
| }
|
| + if (getFlags().getEnableShortCircuit()) {
|
| + Func->shortCircuitJumps();
|
| + Func->dump("After Short Circuiting");
|
| + }
|
|
|
| if (!getFlags().getEnablePhiEdgeSplit()) {
|
| // Lower Phi instructions.
|
| @@ -556,6 +560,7 @@ template <typename TraitsType> void TargetX86Base<TraitsType>::translateO2() {
|
| // particular, no transformations that insert or reorder CfgNodes should be
|
| // done after branch optimization. We go ahead and do it before nop insertion
|
| // to reduce the amount of work needed for searching for opportunities.
|
| +
|
| Func->doBranchOpt();
|
| Func->dump("After branch optimization");
|
|
|
|
|