-
-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BETA] Mir-algorithm compiler segmentation failure #2729
Milestone
Comments
Thx for the report. Reduced, failing with struct ExtMulResult
{
ulong low;
ulong high;
}
ExtMulResult extMul(in ulong a, in ulong b) @nogc nothrow pure @safe
{
import ldc.simd;
auto r = inlineIR!(`
%agg1 = insertvalue [2 x i64] undef, i64 %0, 0
%agg2 = insertvalue [2 x i64] %agg1, i64 %1, 1
ret [2 x i64] %agg2`, ulong[2])(a, b);
return ExtMulResult(r[0], r[1]);
} |
This apparently regressed (v1.9 works) because of a 2.080 Posix x86_64 ABI fix - |
kinke
added a commit
to kinke/ldc
that referenced
this issue
Jun 7, 2018
[ |
kinke
added a commit
to kinke/ldc
that referenced
this issue
Jun 8, 2018
kinke
added a commit
that referenced
this issue
Jun 8, 2018
Fixed by #2732. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
LDC beta fails in MirAlgorithm's Travis https://travis-ci.org/libmir/mir-algorithm/jobs/389055282
The text was updated successfully, but these errors were encountered: