Return Changed from SplitPHIEdges rather than always returning true.
authorCameron Zwarich <zwarich@apple.com>
Thu, 17 Feb 2011 06:13:43 +0000 (06:13 +0000)
committerCameron Zwarich <zwarich@apple.com>
Thu, 17 Feb 2011 06:13:43 +0000 (06:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125726 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PHIElimination.cpp

index f59e4f1aa3b73b2d3747721810264708a058b08b..169e226554862303691d1176ea810bd3ac7f15db 100644 (file)
@@ -423,5 +423,5 @@ bool PHIElimination::SplitPHIEdges(MachineFunction &MF,
       }
     }
   }
-  return true;
+  return Changed;
 }