optimize strstr, PR5783
[oota-llvm.git] / lib / CodeGen / IfConversion.cpp
index 45f08b168a4965c6fb34bee7f94e46e93db74428..c23d7070a34e36aed5c4aa909d76a0ac6dd48a0a 100644 (file)
@@ -608,7 +608,7 @@ void IfConverter::ScanInstructions(BBInfo &BBI) {
     if (TII->DefinesPredicate(I, PredDefs))
       BBI.ClobbersPred = true;
 
-    if (!TID.isPredicable()) {
+    if (!TII->isPredicable(I)) {
       BBI.IsUnpredicable = true;
       return;
     }