diff options
| author | bors <bors@rust-lang.org> | 2013-10-01 21:56:27 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-01 21:56:27 -0700 |
| commit | 33a5928b461e4cda3688ea3fbe9a05f35b4fd884 (patch) | |
| tree | 62a4f793e1b5015c70895cd9673c65c94e670c11 /src/rt/sync/rust_thread.cpp | |
| parent | 1d6c01148c7e0b96105e7553f4e935e31be906d5 (diff) | |
| parent | 5e4ae4f45fab7ce1a984d5b5281e129f76486d10 (diff) | |
| download | rust-33a5928b461e4cda3688ea3fbe9a05f35b4fd884.tar.gz rust-33a5928b461e4cda3688ea3fbe9a05f35b4fd884.zip | |
auto merge of #9656 : thestinger/rust/immediate, r=alexcrichton
fn foo() -> (u32, u8, u8, u8, u8) {
(4, 5, 6, 7, 8)
}
Before:
; Function Attrs: nounwind uwtable
define void @_ZN3foo18hbb616262f874f8daf4v0.0E({ i32, i8, i8, i8, i8 }* noalias nocapture sret, { i64, %tydesc*, i8*, i8*, i8 }* nocapture readnone) #0 {
"function top level":
%2 = getelementptr inbounds { i32, i8, i8, i8, i8 }* %0, i64 0, i32 0
store i32 4, i32* %2, align 4
%3 = getelementptr inbounds { i32, i8, i8, i8, i8 }* %0, i64 0, i32 1
store i8 5, i8* %3, align 4
%4 = getelementptr inbounds { i32, i8, i8, i8, i8 }* %0, i64 0, i32 2
store i8 6, i8* %4, align 1
%5 = getelementptr inbounds { i32, i8, i8, i8, i8 }* %0, i64 0, i32 3
store i8 7, i8* %5, align 2
%6 = getelementptr inbounds { i32, i8, i8, i8, i8 }* %0, i64 0, i32 4
store i8 8, i8* %6, align 1
ret void
}
After:
; Function Attrs: nounwind readnone uwtable
define { i32, i8, i8, i8, i8 } @_ZN3foo18hbb616262f874f8daf4v0.0E({ i64, %tydesc*, i8*, i8*, i8 }* nocapture readnone) #0 {
"function top level":
ret { i32, i8, i8, i8, i8 } { i32 4, i8 5, i8 6, i8 7, i8 8 }
}
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
