emit !align attributes on stores of operand pairs#40385
Merged
bors merged 1 commit intorust-lang:masterfrom Mar 13, 2017
Merged
emit !align attributes on stores of operand pairs#40385bors merged 1 commit intorust-lang:masterfrom
bors merged 1 commit intorust-lang:masterfrom
Conversation
Member
|
@bors r+ |
Collaborator
|
📌 Commit 14e9313 has been approved by |
Collaborator
|
🔒 Merge conflict |
Member
|
@bors: retry |
arielb1
pushed a commit
to arielb1/rust
that referenced
this pull request
Mar 9, 2017
emit !align attributes on stores of operand pairs This avoids another case of missing-align UB. cc rust-lang#40373 r? @eddyb
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this pull request
Mar 10, 2017
emit !align attributes on stores of operand pairs This avoids another case of missing-align UB. cc rust-lang#40373 r? @eddyb
alexcrichton
pushed a commit
to arielb1/rust
that referenced
this pull request
Mar 10, 2017
emit !align attributes on stores of operand pairs This avoids another case of missing-align UB. cc rust-lang#40373 r? @eddyb
TimNN
reviewed
Mar 10, 2017
src/test/codegen/packed.rs
Outdated
| pub fn call_pkd(f: fn() -> Array) -> BigPacked { | ||
| // CHECK: [[ALLOCA:%[_a-z0-9]+]] = alloca %Array | ||
| // CHECK: call void %{{.*}}(%Array* noalias nocapture sret dereferenceable(32) [[ALLOCA]]) | ||
| // CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %{{.*}}, i8* %{{.*}}, i64 32, i32 1, i1 false) |
Contributor
There was a problem hiding this comment.
This failed for me on emscripten / llvm 4.0, however I believe it may / will fail on other 32bit platforms as well:
/checkout/src/test/codegen/packed.rs:43:11: error: expected string not found in input
// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %{{.*}}, i8* %{{.*}}, i64 32, i32 1, i1 false)
^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/packed.ll:34:2: note: scanning from here
br label %bb1
^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/packed.ll:42:2: note: possible intended match here
call void @llvm.memcpy.p0i8.p0i8.i32(i8* %6, i8* %5, i32 32, i32 1, i1 false)
^
Member
Member
4b75ee7 to
038ec50
Compare
Contributor
Author
|
@bors r=eddyb |
Collaborator
|
📌 Commit 038ec50 has been approved by |
arielb1
pushed a commit
to arielb1/rust
that referenced
this pull request
Mar 10, 2017
emit !align attributes on stores of operand pairs This avoids another case of missing-align UB. cc rust-lang#40373 r? @eddyb
arielb1
pushed a commit
to arielb1/rust
that referenced
this pull request
Mar 10, 2017
emit !align attributes on stores of operand pairs This avoids another case of missing-align UB. cc rust-lang#40373 r? @eddyb
arielb1
pushed a commit
to arielb1/rust
that referenced
this pull request
Mar 10, 2017
emit !align attributes on stores of operand pairs This avoids another case of missing-align UB. cc rust-lang#40373 r? @eddyb
bors
added a commit
that referenced
this pull request
Mar 11, 2017
Rollup of 38 pull requests - Successful merges: #39202, #39820, #39918, #39921, #40092, #40146, #40199, #40225, #40239, #40257, #40259, #40261, #40277, #40278, #40287, #40297, #40311, #40315, #40319, #40324, #40336, #40340, #40344, #40345, #40367, #40369, #40372, #40373, #40379, #40385, #40386, #40389, #40400, #40404, #40410, #40422, #40423, #40424 - Failed merges: #40220, #40329, #40426
bors
added a commit
that referenced
this pull request
Mar 11, 2017
Rollup of 38 pull requests - Successful merges: #39202, #39820, #39918, #39921, #40092, #40146, #40199, #40225, #40239, #40257, #40259, #40261, #40277, #40278, #40287, #40297, #40311, #40315, #40319, #40324, #40336, #40340, #40344, #40345, #40367, #40369, #40372, #40373, #40379, #40385, #40386, #40389, #40400, #40404, #40410, #40422, #40423, #40424 - Failed merges: #40220, #40329, #40426
arielb1
pushed a commit
to arielb1/rust
that referenced
this pull request
Mar 11, 2017
emit !align attributes on stores of operand pairs This avoids another case of missing-align UB. cc rust-lang#40373 r? @eddyb
Collaborator
|
🔒 Merge conflict |
Contributor
Author
|
@bors retry |
Contributor
Author
|
@bors r- |
Contributor
Author
|
@bors r=eddyb |
Collaborator
|
📌 Commit 32c9893 has been approved by |
Collaborator
Collaborator
|
☀️ Test successful - status-appveyor, status-travis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This avoids another case of missing-align UB. cc #40373
r? @eddyb