Extra CHECK-NOT to make sure that GVN transform works properly.
authorJakub Staszak <jstaszak@apple.com>
Fri, 2 Sep 2011 17:40:39 +0000 (17:40 +0000)
committerJakub Staszak <jstaszak@apple.com>
Fri, 2 Sep 2011 17:40:39 +0000 (17:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139012 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/GVN/pr10820.ll

index 0242571438750eca2dfa13c12f8e6f55c2288ac2..12c1e70fc38778763ea223e1f027dcef55b0e35e 100644 (file)
@@ -10,6 +10,7 @@ define void @main() nounwind uwtable {
 entry:
 ; CHECK: store i32
   store i32 402662078, i32* bitcast (i31* @g to i32*), align 8
+; CHECK-NOT: load i31
   %0 = load i31* @g, align 8
 ; CHECK: store i31
   store i31 %0, i31* undef, align 1