[Beignet] [PATCH 8/9] GBE: enable post phi copy optimization function.

Zhigang Gong zhigang.gong at intel.com
Wed Sep 23 17:47:32 PDT 2015


Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
 backend/src/llvm/llvm_gen_backend.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/src/llvm/llvm_gen_backend.cpp b/backend/src/llvm/llvm_gen_backend.cpp
index dc2e3e8..cc28053 100644
--- a/backend/src/llvm/llvm_gen_backend.cpp
+++ b/backend/src/llvm/llvm_gen_backend.cpp
@@ -2870,7 +2870,7 @@ namespace gbe
     if (OCL_OPTIMIZE_PHI_MOVES) {
       map <ir::Register, ir::Register> replaceMap, redundantPhiCopyMap;
       this->optimizePhiCopy(liveness, fn, replaceMap, redundantPhiCopyMap);
-      //this->postPhiCopyOptimization(liveness, fn, replaceMap, redundantPhiCopyMap);
+      this->postPhiCopyOptimization(liveness, fn, replaceMap, redundantPhiCopyMap);
       this->removeMOVs(liveness, fn);
     }
   }
-- 
1.9.1



More information about the Beignet mailing list