PGO: preserve branch-weight metadata when simplifying two branches with a common
[oota-llvm.git] / test / Transforms / SimplifyCFG / switch-on-const-select.ll
index 5494a651d47da14cbefe3423c0fa3861820fc8d3..673a62bf035ccb4c5dfc18ef07ea937b00a81339 100644 (file)
@@ -115,7 +115,7 @@ entry:
 cont:
 ; CHECK: %lt = icmp slt i64 %x, %y
     %lt = icmp slt i64 %x, %y
-; CHECK-NEXT: br i1 %lt, label %a, label %r
+; CHECK-NEXT: select i1 %lt, i32 -1, i32 1
     %qux = select i1 %lt, i32 0, i32 2
     switch i32 %qux, label %bees [
         i32 0, label %a