diff options
author | Tim Northover <tnorthover@apple.com> | 2019-05-29 19:13:29 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-05-29 19:13:29 +0000 |
commit | 45e8cc6639e9d7dbc900ed35fdfe46c02c4eb298 (patch) | |
tree | 60e26b399c26fe71793935883223bcfa4b8b3c39 /clang/test/CodeGenCXX/wasm-args-returns.cpp | |
parent | 6e07f16fae605c42014aa4f1f2babf3e7767c95c (diff) | |
download | bcm5719-llvm-45e8cc6639e9d7dbc900ed35fdfe46c02c4eb298.tar.gz bcm5719-llvm-45e8cc6639e9d7dbc900ed35fdfe46c02c4eb298.zip |
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.
llvm-svn: 362013
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) |