[llvm-bugs] [Bug 38743] New: Unreachable code is reached & assert fails in X86AvoidStoreForwardingBlocks.cpp

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 28 10:43:24 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: cmtice at google.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180828/b29a1c6b/attachment.html>


More information about the llvm-bugs mailing list