summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/aapcs-align.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2019-05-30 18:49:19 +0000
committerTim Northover <tnorthover@apple.com>2019-05-30 18:49:19 +0000
commitfcb00d4aec7de1f51292b65d660001f70b95f7b3 (patch)
tree9412e9e37e86409755aec72608a79b081fd8a9b9 /clang/test/CodeGen/aapcs-align.cpp
parentb7141207a483d39b99c2b4da4eb3bb591eca9e1a (diff)
downloadbcm5719-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/CodeGen/aapcs-align.cpp')
-rw-r--r--clang/test/CodeGen/aapcs-align.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/aapcs-align.cpp b/clang/test/CodeGen/aapcs-align.cpp
index 40fba782352..bcc4604d742 100644
--- a/clang/test/CodeGen/aapcs-align.cpp
+++ b/clang/test/CodeGen/aapcs-align.cpp
@@ -95,8 +95,8 @@ void g4() {
f4m(1, 2, 3, 4, 5, s);
}
// CHECK: define void @g4
-// CHECK: call void @f4(i32 1, %struct.SF16* byval nonnull align 8
-// CHECK: call void @f4m(i32 1, i32 2, i32 3, i32 4, i32 5, %struct.SF16* byval nonnull align 8
+// CHECK: call void @f4(i32 1, %struct.SF16* nonnull byval align 8
+// CHECK: call void @f4m(i32 1, i32 2, i32 3, i32 4, i32 5, %struct.SF16* nonnull byval align 8
// CHECK: declare void @f4(i32, %struct.SF16* byval align 8)
// CHECK: declare void @f4m(i32, i32, i32, i32, i32, %struct.SF16* byval align 8)
OpenPOWER on IntegriCloud