about summary refs log tree commit diff
path: root/src/test/codegen/adjustments.rs
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2017-10-06 10:25:35 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2017-11-19 02:43:32 +0200
commitcdeb4b0d258c19f57ee6fb089126656e18324367 (patch)
tree39b1e45990bf63df626bebe3c020360f2df5356c /src/test/codegen/adjustments.rs
parentf1b7cd99254dd11ff7370fe423cca6fd8046f7d2 (diff)
downloadrust-cdeb4b0d258c19f57ee6fb089126656e18324367.tar.gz
rust-cdeb4b0d258c19f57ee6fb089126656e18324367.zip
rustc: encode scalar pairs in layout ABI.
Diffstat (limited to 'src/test/codegen/adjustments.rs')
-rw-r--r--src/test/codegen/adjustments.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/codegen/adjustments.rs b/src/test/codegen/adjustments.rs
index 525a1f5310c..2b35d454739 100644
--- a/src/test/codegen/adjustments.rs
+++ b/src/test/codegen/adjustments.rs
@@ -24,9 +24,9 @@ pub fn helper(_: usize) {
 pub fn no_op_slice_adjustment(x: &[u8]) -> &[u8] {
     // We used to generate an extra alloca and memcpy for the block's trailing expression value, so
     // check that we copy directly to the return value slot
-// CHECK: %0 = insertvalue { [0 x i8], [0 x i8]*, [0 x i8], [[USIZE]], [0 x i8] } undef, [0 x i8]* %x.0, 1
-// CHECK: %1 = insertvalue { [0 x i8], [0 x i8]*, [0 x i8], [[USIZE]], [0 x i8] } %0, [[USIZE]] %x.1, 3
-// CHECK: ret { [0 x i8], [0 x i8]*, [0 x i8], [[USIZE]], [0 x i8] } %1
+// CHECK: %0 = insertvalue { [0 x i8]*, [[USIZE]] } undef, [0 x i8]* %x.0, 0
+// CHECK: %1 = insertvalue { [0 x i8]*, [[USIZE]] } %0, [[USIZE]] %x.1, 1
+// CHECK: ret { [0 x i8]*, [[USIZE]] } %1
     { x }
 }