Add a useless phi for testing with InductionVariables stuff
authorChris Lattner <sabre@nondot.org>
Sun, 24 Jun 2001 04:06:23 +0000 (04:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Jun 2001 04:06:23 +0000 (04:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64 91177308-0d34-0410-b5e6-96231b3b80d8

test/intervals.ll

index e355ff8e2a01e35eb56f658f98714ebae2992c10..d5e2486c98b214fc78d00c9a6b054130f5a78c0b 100644 (file)
@@ -14,6 +14,7 @@ L1Header:
        %i1 = add int 0, 0             ; %i1 = 0
        br label %L2Body
 L2Body:
+       %wl = phi int [%j, %L1Header], [%wl, %L2Body]    ;; Useless PHI
        %i2 = phi int [%i1, %L1Header], [%i3, %L2Body]
        %i3 = add int %i2, 1
        %L2Done = seteq int %i3, 10