AArch64/ARM64: move ARM64 into AArch64's place
[oota-llvm.git] / test / Analysis / GlobalsModRef / chaining-analysis.ll
index 431b2a68cf4cd6fa77ae2118430b6fb8d108a672..aeb76e42d295116a97de277bf8e870822b581b68 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -globalsmodref-aa -gvn -S | not grep load
+; RUN: opt < %s -basicaa -globalsmodref-aa -gvn -S | FileCheck %s
 
 ; This test requires the use of previous analyses to determine that
 ; doesnotmodX does not modify X (because 'sin' doesn't).
@@ -8,6 +8,10 @@
 declare double @sin(double) readnone
 
 define i32 @test(i32* %P) {
+; CHECK:      @test
+; CHECK-NEXT: store i32 12, i32* @X
+; CHECK-NEXT: call double @doesnotmodX(double 1.000000e+00)
+; CHECK-NEXT: ret i32 12
        store i32 12, i32* @X
        call double @doesnotmodX( double 1.000000e+00 )         ; <double>:1 [#uses=0]
        %V = load i32* @X               ; <i32> [#uses=1]