Fix tail merging to assign the (more) correct BasicBlock when splitting.
[oota-llvm.git] / test / CodeGen / X86 / block-placement.ll
index be627e08e0e1059bf1c6ba43352709e6fdd38608..139f8b029b26c88a53da99d57670e546722c8d26 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=i686-linux < %s | FileCheck %s
+; RUN: llc -mtriple=i686-linux -pre-RA-sched=source < %s | FileCheck %s
 
 declare void @error(i32 %i, i32 %a, i32 %b)
 
@@ -997,7 +997,7 @@ define void @benchmark_heapsort(i32 %n, double* nocapture %ra) {
 ; CHECK: %while.body
 ; CHECK: %land.lhs.true
 ; CHECK: %if.then19
-; CHECK: %if.then19
+; CHECK: %if.end20
 ; CHECK: %if.then8
 ; CHECK: ret