[llvm-bugs] [Bug 25270] New: llc produces incorrect assembler for knl
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 21 04:04:50 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25270
Bug ID: 25270
Summary: llc produces incorrect assembler for knl
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llc
Assignee: unassignedbugs at nondot.org
Reporter: Vsevolod.Livinskij at frtk.ru
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15130
--> https://llvm.org/bugs/attachment.cgi?id=15130&action=edit
Reproducer (foo.ll is miscompiled).
llc produces incorrect assembler for knl. It tries to reuse the %var in two
Print calls, despite its value has changed. llc probably optimized away the
register spill of %var_load_load by reloading it. This bug occurs in foo.ll
file.
Compile:
llc -mcpu=knl call.ll
llc -mcpu=knl foo.ll
clang++ -march=knl foo.s call.s main.cpp
Run: sde -knl -- ./a.out
LLVM revision #250620
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151021/595d0fd8/attachment-0001.html>
More information about the llvm-bugs
mailing list