Use LLVM patch to correct alignments for i128 and u128#116641
Use LLVM patch to correct alignments for i128 and u128#116641tgross35 wants to merge 3 commits intorust-lang:masterfrom
i128 and u128#116641Conversation
|
|
These commits modify compiler targets. |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
This is a clone of rust-lang#116641 with a few static asserts disabled, specifically to try and bootstrap rustc with LLVM at HEAD. This is just for preliminary testing, will drop this in favor of rust-lang#116641 once ready.
|
It seems we may need to also update i686 specs: when locally building this with LLVM @ HEAD and the static_assert_size-s commented out following #113880, I'm getting some i686 test failures, e.g., Also these which seem to use |
|
r? llvm |
|
Failed to set assignee to
|
|
r? @nikic |
|
@krasimirgg Yes, the i686 data layouts changed as well. |
|
I think this may be superseded by #116672? |
|
#116672 will handle this now, closing |
This applies https://reviews.llvm.org/D86310 and https://reviews.llvm.org/D158169, which fix the alignment and ABI issues for 128-bit integers. I ran an ABI check on this and we are no compatible with GCC and the current
mainclang.Zulip discussion: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/.2354341.20-.20alignment.20of.20i128.20for.20FFI
This will be a draft since I don't think we are going to backport
r? compiler
@rustbot label +T-compiler
Todo still: pull in the rest of the changes from #113880