[llvm] r363751 - [test] Change comment wording (NFC)

Evandro Menezes via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 16:31:10 PDT 2019


Author: evandro
Date: Tue Jun 18 16:31:10 2019
New Revision: 363751

URL: http://llvm.org/viewvc/llvm-project?rev=363751&view=rev
Log:
[test] Change comment wording (NFC)

Modified:
    llvm/trunk/test/CodeGen/Generic/MachineBranchProb.ll
    llvm/trunk/test/CodeGen/X86/switch.ll

Modified: llvm/trunk/test/CodeGen/Generic/MachineBranchProb.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/MachineBranchProb.ll?rev=363751&r1=363750&r2=363751&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/MachineBranchProb.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/MachineBranchProb.ll Tue Jun 18 16:31:10 2019
@@ -63,7 +63,7 @@ bb5: tail call void @g(i32 5) br label %
 return: ret void
 
 ; Check that we set branch weights on the pivot cmp instruction correctly.
-; Cases {0,10,20,30} go on the left with weight 13; cases {40,50} go on the
+; Cases {0,100,200,300} go on the left with weight 13; cases {400,500} go on the
 ; right with weight 20.
 ;
 ; CHECK-LABEL: Machine code for function left_leaning_weight_balanced_tree:

Modified: llvm/trunk/test/CodeGen/X86/switch.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/switch.ll?rev=363751&r1=363750&r2=363751&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/switch.ll (original)
+++ llvm/trunk/test/CodeGen/X86/switch.ll Tue Jun 18 16:31:10 2019
@@ -783,12 +783,12 @@ end:
 define void @range_with_unreachable_fallthrough(i32 %i) {
 entry:
   switch i32 %i, label %default [
-    i32 1,  label %bb1
-    i32 2,  label %bb1
-    i32 3,  label %bb1
-    i32 4,  label %bb2
-    i32 5,  label %bb2
-    i32 6,  label %bb2
+    i32 1, label %bb1
+    i32 2, label %bb1
+    i32 3, label %bb1
+    i32 4, label %bb2
+    i32 5, label %bb2
+    i32 6, label %bb2
   ]
 bb1: tail call void @g(i32 0) br label %return
 bb2: tail call void @g(i32 1) br label %return
@@ -798,8 +798,8 @@ return:
   ret void
 
 ; CHECK-LABEL: range_with_unreachable_fallthrough:
-; Since the default is unreachable, either the 1--3 or the 4--6 cluster will be
-; reached. Only one comparison should be emitted.
+; Since the default is unreachable, either cluster will be reached.
+; Only one comparison should be emitted.
 ; CHECK: cmpl
 ; CHECK-NOT: cmpl
 ; CHECK: jmp g




More information about the llvm-commits mailing list