diff options
Diffstat (limited to 'llvm/test/Transforms/GVN/malloc-load-removal.ll')
-rw-r--r-- | llvm/test/Transforms/GVN/malloc-load-removal.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Transforms/GVN/malloc-load-removal.ll b/llvm/test/Transforms/GVN/malloc-load-removal.ll index bbb6f5ca7851..57fb89225efd 100644 --- a/llvm/test/Transforms/GVN/malloc-load-removal.ll +++ b/llvm/test/Transforms/GVN/malloc-load-removal.ll @@ -5,7 +5,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.8.0" -declare i8* @malloc(i64) nounwind +declare noalias i8* @malloc(i64) nounwind define noalias i8* @test1() nounwind uwtable ssp { entry: @@ -30,7 +30,7 @@ if.end: ; preds = %if.then, %entry ; CHECK_NO_LIBCALLS: icmp } -declare i8* @_Znwm(i64) nounwind +declare noalias i8* @_Znwm(i64) nounwind define noalias i8* @test2() nounwind uwtable ssp { entry: @@ -55,7 +55,7 @@ if.end: ; preds = %if.then, %entry ; CHECK_NO_LIBCALLS: icmp } -declare i8* @aligned_alloc(i64, i64) nounwind +declare noalias i8* @aligned_alloc(i64, i64) nounwind define noalias i8* @test3() nounwind uwtable ssp { entry: |