[dragonegg] r174125 - Update test so that it gets the attribute before 'byval'.
Bill Wendling
isanbard at gmail.com
Thu Jan 31 16:35:26 PST 2013
Author: void
Date: Thu Jan 31 18:35:26 2013
New Revision: 174125
URL: http://llvm.org/viewvc/llvm-project?rev=174125&view=rev
Log:
Update test so that it gets the attribute before 'byval'.
Modified:
dragonegg/trunk/test/validator/c++/x86-64-abi-sret-vs-2word-struct-param.cpp
Modified: dragonegg/trunk/test/validator/c++/x86-64-abi-sret-vs-2word-struct-param.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c%2B%2B/x86-64-abi-sret-vs-2word-struct-param.cpp?rev=174125&r1=174124&r2=174125&view=diff
==============================================================================
--- dragonegg/trunk/test/validator/c++/x86-64-abi-sret-vs-2word-struct-param.cpp (original)
+++ dragonegg/trunk/test/validator/c++/x86-64-abi-sret-vs-2word-struct-param.cpp Thu Jan 31 18:35:26 2013
@@ -12,7 +12,7 @@ struct T {
};
extern "C" S fail(int, int, int, int, T t, void* p) {
-// CHECK: %struct.T* byval
+// CHECK: %struct.T* align 8 byval
S s;
s.data[0] = t.data[0];
s.data[1] = t.data[1];
@@ -21,7 +21,7 @@ extern "C" S fail(int, int, int, int, T
}
extern "C" S* succeed(S* sret, int, int, int, int, T t, void* p) {
-// CHECK: %struct.T* byval
+// CHECK: %struct.T* align 8 byval
sret->data[0] = t.data[0];
sret->data[1] = t.data[1];
sret->data[2] = p;
More information about the llvm-commits
mailing list