<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Regression in "[X86][SSE] LowerUINT_TO_FP_i64 - only use HADDPD for size/fast-hops""
href="https://bugs.llvm.org/show_bug.cgi?id=43729">43729</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression in "[X86][SSE] LowerUINT_TO_FP_i64 - only use HADDPD for size/fast-hops"
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>martin@martin.st
</td>
</tr>
<tr>
<th>CC</th>
<td>craig.topper@gmail.com, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, spatel+llvm@rotateright.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22691" name="attach_22691" title="Reprouction C sample">attachment 22691</a> <a href="attachment.cgi?id=22691&action=edit" title="Reprouction C sample">[details]</a></span>
Reprouction C sample
Since SVN r375341, "[X86][SSE] LowerUINT_TO_FP_i64 - only use HADDPD for
size/fast-hops", building ffmpeg/libav for mingw, both i686 and x86_64, errors
out like this:
fatal error: error in backend: Cannot select: t22: v2f64 = X86ISD::FHADD t21,
t2
1
t21: v2f64 = fsub t20, t44
t20: v2f64 = bitcast t39
t39: v4i32 = X86ISD::UNPCKL t17, t16
t17: v4i32 = bitcast t14
t14: v2i64 = scalar_to_vector t7
t7: i64,ch = CopyFromReg t0, Register:i64 %150
t6: i64 = Register %150
t16: v4i32,ch = load<(load 16 from constant-pool)> t0, t43, undef:i64
t43: i64 = X86ISD::WrapperRIP TargetConstantPool:i64<<4 x i32> <i32
11
27219200, i32 1160773632, i32 0, i32 0>> 0
t42: i64 = TargetConstantPool<<4 x i32> <i32 1127219200, i32
1160773
632, i32 0, i32 0>> 0
t15: i64 = undef
t44: v2f64,ch = load<(load 16 from constant-pool)> t0, t41, undef:i64
t41: i64 = X86ISD::WrapperRIP TargetConstantPool:i64<<2 x double> <double
0x4330000000000000, double 0x4530000000000000>> 0
t40: i64 = TargetConstantPool<<2 x double> <double 0x4330000000000000,
d
ouble 0x4530000000000000>> 0
t15: i64 = undef
t21: v2f64 = fsub t20, t44
t20: v2f64 = bitcast t39
t39: v4i32 = X86ISD::UNPCKL t17, t16
t17: v4i32 = bitcast t14
t14: v2i64 = scalar_to_vector t7
t7: i64,ch = CopyFromReg t0, Register:i64 %150
t6: i64 = Register %150
t16: v4i32,ch = load<(load 16 from constant-pool)> t0, t43, undef:i64
t43: i64 = X86ISD::WrapperRIP TargetConstantPool:i64<<4 x i32> <i32
1127219200, i32 1160773632, i32 0, i32 0>> 0
t42: i64 = TargetConstantPool<<4 x i32> <i32 1127219200, i32
1160773632, i32 0, i32 0>> 0
t15: i64 = undef
t44: v2f64,ch = load<(load 16 from constant-pool)> t0, t41, undef:i64
t41: i64 = X86ISD::WrapperRIP TargetConstantPool:i64<<2 x double> <double
0x4330000000000000, double 0x4530000000000000>> 0
t40: i64 = TargetConstantPool<<2 x double> <double 0x4330000000000000,
double 0x4530000000000000>> 0
t15: i64 = undef
In function: ffv1_encode_init
This is reproducible with the attached source file, with "clang -target
x86_64-w64-mingw32 -c -O2 ffv1enc.c".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>