You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oddly enough the error is slightly nondeterministic...
The text was updated successfully, but these errors were encountered:
alexcrichton
added
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
labels
Oct 11, 2017
Hm ok that's not actually a great reproduction. ThinLTO is performing as expected for that reproduction, the problem is that we just don't have dead code elimination turned on at O1 in LLVM. Going to try to re-reduce again with optimizations enabled to get closer to the original issue.
First the `addPreservedGUID` function forgot to take care of "alias" summaries.
I'm not 100% sure what this is but the current code now matches upstream. Next
the `computeDeadSymbols` return value wasn't actually being used, but it needed
to be used! Together these should...
Closesrust-lang#45195
…lwoerister
rustc: Fix some ThinLTO internalization
First the `addPreservedGUID` function forgot to take care of "alias" summaries.
I'm not 100% sure what this is but the current code now matches upstream. Next
the `computeDeadSymbols` return value wasn't actually being used, but it needed
to be used! Together these should...
Closes#45195
An extracted test case from https://internals.rust-lang.org/t/help-test-out-thinlto/6017/32 can be minimized down to:
and can be reproduced with:
Oddly enough the error is slightly nondeterministic...
The text was updated successfully, but these errors were encountered: