<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 - [X86] Repeated schedule comments"
href="https://bugs.llvm.org/show_bug.cgi?id=35549">35549</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[X86] Repeated schedule comments
</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>Windows NT
</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>llvm-dev@redking.me.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>andrea.dibiagio@gmail.com, andrew.v.tischenko@gmail.com, craig.topper@gmail.com, gadi.haber@intel.com, llvm-bugs@lists.llvm.org, spatel+llvm@rotateright.com
</td>
</tr>
<tr>
<th>Blocks</th>
<td>32325
</td>
</tr></table>
<p>
<div>
<pre>Taken from llvm\test\CodeGen\X86\avx512-schedule.ll
declare void @func_f32(float)
define <16 x float> @broadcast_ss_spill(float %x) {
%a = fadd float %x, %x
call void @func_f32(float %a)
%b = insertelement <16 x float> undef, float %a, i32 0
%c = shufflevector <16 x float> %b, <16 x float> undef, <16 x i32>
zeroinitializer
ret <16 x float> %c
}
Note the repeated scheduling comments for vmovaps and vbroadcastss:
llc -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skx
.text
.file "bar.ll"
.globl broadcast_ss_spill # -- Begin function broadcast_ss_spill
.p2align 4, 0x90
.type broadcast_ss_spill,@function
broadcast_ss_spill: # @broadcast_ss_spill
.cfi_startproc
# %bb.0:
subq $24, %rsp # sched: [1:0.25]
.cfi_def_cfa_offset 32
vaddss %xmm0, %xmm0, %xmm0 # sched: [4:0.33]
vmovaps %xmm0, (%rsp) # 16-byte Spill sched: [1:1.00]
# sched: [1:1.00]
callq func_f32
vbroadcastss (%rsp), %zmm0 # 16-byte Folded Reload sched: [8:0.50]
# sched: [8:0.50]
addq $24, %rsp # sched: [1:0.25]
retq # sched: [7:1.00]
func_end0:
.size broadcast_ss_spill, .Lfunc_end0-broadcast_ss_spill
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [META][X86] Improve implementation and use of X86 scheduler models"
href="https://bugs.llvm.org/show_bug.cgi?id=32325">Bug 32325</a>] [META][X86] Improve implementation and use of X86 scheduler models
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>