[llvm-bugs] [Bug 37133] New: After r329657, error in backend: Cannot lower EFLAGS copy that lives out of a basic block!
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Apr 14 07:43:53 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37133
Bug ID: 37133
Summary: After r329657, error in backend: Cannot lower EFLAGS
copy that lives out of a basic block!
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dimitry at andric.com
CC: llvm-bugs at lists.llvm.org
After https://reviews.llvm.org/rL329657 ("[x86] Introduce a pass to begin more
systematically fixing PR36028 and similar issues"), which is part of a fix for
bug 36028, building libssh on i386-freebsd results in:
fatal error: error in backend: Cannot lower EFLAGS copy that lives out of a
basic block!
cc: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
Minimized test case:
/* clang -cc1 -triple i386 -S -debug-info-kind=standalone -O1 krl-minimized.c
*/
int a, b;
unsigned long long c;
void e() {
long long d;
b = 33;
d = a;
if (c < a) {
b = 32;
d = c;
}
if (d)
b = 2;
}
Note that the -debug-info-kind=standalone option is important, if that is left
out, the backend error does not occur!
--
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/20180414/f6ee503a/attachment.html>
More information about the llvm-bugs
mailing list