diff options
author | Eric Christopher <echristo@gmail.com> | 2017-03-25 20:20:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2017-03-25 20:20:23 +0000 |
commit | 0935875c40b33e80c17c3fcf489c3aa2aa5ef1d6 (patch) | |
tree | 931ef8e11f7be234c697c184f4114d6a407721f6 /llvm/test/Bitcode/compatibility-3.7.ll | |
parent | 6397963c815b88ebe98ed8376bce042862d59fe2 (diff) | |
download | bcm5719-llvm-0935875c40b33e80c17c3fcf489c3aa2aa5ef1d6.tar.gz bcm5719-llvm-0935875c40b33e80c17c3fcf489c3aa2aa5ef1d6.zip |
Change the default attributes for llvm.prefetch to inaccessiblemem_or_argmemonly
so that we can perform some optimizations across it.
Fixes PR32365
llvm-svn: 298781
Diffstat (limited to 'llvm/test/Bitcode/compatibility-3.7.ll')
-rw-r--r-- | llvm/test/Bitcode/compatibility-3.7.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/compatibility-3.7.ll b/llvm/test/Bitcode/compatibility-3.7.ll index 4ae0aed2018..ebdf4c30587 100644 --- a/llvm/test/Bitcode/compatibility-3.7.ll +++ b/llvm/test/Bitcode/compatibility-3.7.ll @@ -1022,7 +1022,7 @@ exit: ; CHECK: select <2 x i1> <i1 true, i1 false>, <2 x i8> <i8 2, i8 3>, <2 x i8> <i8 3, i8 2> call void @f.nobuiltin() builtin - ; CHECK: call void @f.nobuiltin() #36 + ; CHECK: call void @f.nobuiltin() #37 call fastcc noalias i32* @f.noalias() noinline ; CHECK: call fastcc noalias i32* @f.noalias() #12 @@ -1246,7 +1246,8 @@ define void @misc.metadata() { ; CHECK: attributes #33 = { argmemonly nounwind readonly } ; CHECK: attributes #34 = { argmemonly nounwind } ; CHECK: attributes #35 = { nounwind readonly } -; CHECK: attributes #36 = { builtin } +; CHECK: attributes #36 = { inaccessiblemem_or_argmemonly nounwind } +; CHECK: attributes #37 = { builtin } ;; Metadata |