From ce66c6114fe347aefcd74ca55f73379feaf190fc Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 28 Apr 2009 22:05:13 +0000 Subject: [PATCH] As with r70333, give the primary induction variable a use so that it can't be trivially eliminated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70334 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LoopSimplify/single-backedge.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Transforms/LoopSimplify/single-backedge.ll b/test/Transforms/LoopSimplify/single-backedge.ll index 0c09b9e51a6..8391048eed2 100644 --- a/test/Transforms/LoopSimplify/single-backedge.ll +++ b/test/Transforms/LoopSimplify/single-backedge.ll @@ -8,7 +8,8 @@ define i32 @test(i1 %C) { ;