diff options
author | Tim Northover <tnorthover@apple.com> | 2019-05-30 18:49:19 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-05-30 18:49:19 +0000 |
commit | fcb00d4aec7de1f51292b65d660001f70b95f7b3 (patch) | |
tree | 9412e9e37e86409755aec72608a79b081fd8a9b9 /clang/test/CodeGenCXX/wasm-args-returns.cpp | |
parent | b7141207a483d39b99c2b4da4eb3bb591eca9e1a (diff) | |
download | bcm5719-llvm-fcb00d4aec7de1f51292b65d660001f70b95f7b3.tar.gz bcm5719-llvm-fcb00d4aec7de1f51292b65d660001f70b95f7b3.zip |
Reapply: LLVM IR: update Clang tests for byval being a typed attribute.
Since byval is now a typed attribute it gets sorted slightly differently by
LLVM when the order of attributes is being canonicalized. This updates the few
Clang tests that depend on the old order.
Clang patch is unchanged.
llvm-svn: 362129
Diffstat (limited to 'clang/test/CodeGenCXX/wasm-args-returns.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/wasm-args-returns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/wasm-args-returns.cpp b/clang/test/CodeGenCXX/wasm-args-returns.cpp index a7c4e1e282a..506540e86fd 100644 --- a/clang/test/CodeGenCXX/wasm-args-returns.cpp +++ b/clang/test/CodeGenCXX/wasm-args-returns.cpp @@ -30,12 +30,12 @@ struct two_fields { double d, e; }; test(two_fields); -// CHECK: define void @_Z7forward10two_fields(%struct.two_fields* noalias nocapture sret %{{.*}}, %struct.two_fields* byval nocapture readonly align 8 %{{.*}}) +// CHECK: define void @_Z7forward10two_fields(%struct.two_fields* noalias nocapture sret %{{.*}}, %struct.two_fields* nocapture readonly byval align 8 %{{.*}}) // // CHECK: define void @_Z15test_two_fieldsv() // CHECK: %[[tmp:.*]] = alloca %struct.two_fields, align 8 // CHECK: call void @_Z14def_two_fieldsv(%struct.two_fields* nonnull sret %[[tmp]]) -// CHECK: call void @_Z3use10two_fields(%struct.two_fields* byval nonnull align 8 %[[tmp]]) +// CHECK: call void @_Z3use10two_fields(%struct.two_fields* nonnull byval align 8 %[[tmp]]) // CHECK: ret void // // CHECK: declare void @_Z3use10two_fields(%struct.two_fields* byval align 8) |