[llvm] r325215 - [NFC] Fix metadata placement in test

Max Kazantsev via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 23:13:18 PST 2018


Author: mkazantsev
Date: Wed Feb 14 23:13:18 2018
New Revision: 325215

URL: http://llvm.org/viewvc/llvm-project?rev=325215&view=rev
Log:
[NFC] Fix metadata placement in test

Modified:
    llvm/trunk/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll

Modified: llvm/trunk/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll?rev=325215&r1=325214&r2=325215&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll Wed Feb 14 23:13:18 2018
@@ -141,8 +141,6 @@ for.end:
   ret void
 }
 
-!0 = !{i64 0, i64 100}
-
 ; Negative test - we can't show that the internal branch executes, so we can't
 ; fold the test to a loop invariant one.
 define void @test1_neg(i64 %start) {
@@ -387,7 +385,7 @@ exit:
   ret void
 }
 
+!0 = !{i64 0, i64 100}
 !1 = !{i64 -1, i64 100}
 
-
 declare void @foo()




More information about the llvm-commits mailing list