[llvm] r269308 - minor test clean up /NFC

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 09:41:27 PDT 2016


Author: davidxl
Date: Thu May 12 11:41:27 2016
New Revision: 269308

URL: http://llvm.org/viewvc/llvm-project?rev=269308&view=rev
Log:
minor test clean up /NFC

Modified:
    llvm/trunk/test/CodeGen/X86/code_placement_loop_rotation3.ll

Modified: llvm/trunk/test/CodeGen/X86/code_placement_loop_rotation3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/code_placement_loop_rotation3.ll?rev=269308&r1=269307&r2=269308&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/code_placement_loop_rotation3.ll (original)
+++ llvm/trunk/test/CodeGen/X86/code_placement_loop_rotation3.ll Thu May 12 11:41:27 2016
@@ -15,17 +15,17 @@ entry:
 header:
   call void @e()
   %call = call zeroext i1 @a()
-  br i1 %call, label %if.then, label %latch, !prof !2
+  br i1 %call, label %if.then, label %latch, !prof !1
 
 if.then:
   call void @f()
   %call3 = call zeroext i1 @a()
-  br i1 %call3, label %latch, label %end, !prof !3
+  br i1 %call3, label %latch, label %end, !prof !2
 
 latch:
   call void @h()
   %call2 = call zeroext i1 @a()
-  br i1 %call2, label %header, label %end, !prof !4
+  br i1 %call2, label %header, label %end, !prof !3
 
 end:
   ret void
@@ -38,6 +38,5 @@ declare void @g()
 declare void @h()
 
 !1 = !{!"branch_weights", i32 16, i32 16}
-!2 = !{!"branch_weights", i32 16, i32 16}
+!2 = !{!"branch_weights", i32 97, i32 3}
 !3 = !{!"branch_weights", i32 97, i32 3}
-!4 = !{!"branch_weights", i32 97, i32 3}




More information about the llvm-commits mailing list