Chromium Code Reviews| Index: src/IceTargetLoweringX86BaseImpl.h |
| diff --git a/src/IceTargetLoweringX86BaseImpl.h b/src/IceTargetLoweringX86BaseImpl.h |
| index 1dcb9a3d865dc95f6c107be00c6894838ad0a7dd..3189450b040d6c8c2533cba8dbd6df5634cd34f8 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. |
| + |
|
Jim Stichnoth
2016/06/27 22:41:59
I would remove this newline.
manasijm
2016/06/27 22:56:32
Done.
|
| Func->doBranchOpt(); |
| Func->dump("After branch optimization"); |