Ensure CopyToReg nodes are always glued to the call instruction.
[oota-llvm.git] / lib / Target / Hexagon / HexagonTargetMachine.cpp
index 8572654a9ff3c8a5b32786ab16ddcc9a0e4beb44..a7b291ff2a263ef6651bd4b8c8843eb7c6e5f35e 100644 (file)
@@ -123,7 +123,7 @@ bool HexagonPassConfig::addPostRegAlloc() {
 
 
 bool HexagonPassConfig::addPreSched2() {
-  addPass(IfConverterID);
+  addPass(&IfConverterID);
   return true;
 }