https://bugs.llvm.org/show_bug.cgi?id=38743
Bug ID: 38743
Summary: Unreachable code is reached & assert fails in
X86AvoidStoreForwardingBlocks.cpp
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: cmt...@google.com
CC: llvm-bugs@lists.llvm.org
Created attachment 20789
--> https://bugs.llvm.org/attachment.cgi?id=20789&action=edit
.bc file created as part of thinlto compilation that crashed with assert
ld.gold.real:
/var/tmp/portage/sys-devel/llvm-7.0_pre333878_p20180808-r4/work/llvm-7.0_pre333878_p20180808/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp:498:
void (anonymous namespace)::X86AvoidSFBPass::buildCopies(int,
llvm::MachineInstr *, int64_t, llvm::MachineInstr *, int64_t, int64_t,
int64_t): Assertion `Size == 0 && "Wrong size division"' failed.
clang-8: error: unable to execute command: Aborted
clang-8: error: linker command failed due to signal (use -v to see invocation)
I get this running:
$ /usr/bin/llc
./obj/components/safe_browsing/safe_browsing/base_blocking_page.o.5.precodegen.bc
I am attaching the .bc file.
Note: One interesting part of this bug is that in only occurs if I compile
with ThinLTO (this is part of a Chrome build in ChromeOS). If I disable
thinlto everything builds just fine.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs