[llvm-bugs] [Bug 35736] New: ThinLTO-generated IR yields assembler error on i686 MSVC

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Dec 23 14:28:09 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35736

            Bug ID: 35736
           Summary: ThinLTO-generated IR yields assembler error on i686
                    MSVC
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: alex at crichton.co
                CC: llvm-bugs at lists.llvm.org

Created attachment 19597
  --> https://bugs.llvm.org/attachment.cgi?id=19597&action=edit
reduced IR

We've almost enabled ThinLTO by default in rustc and we're down to (hopefully)
the last few errors! One that we just came across [1] was reduced to a smaller
test case (attached).

The test case seems to indicate that an `available_externally` function causes
issues when generating the object file on i686-pc-windows-msvc. I've been
reproducing this locally with:

    $ llc ./foo.ll -filetype=obj

This is against a pretty old (at this point) fork of LLVM, but I think that the
issue is still present on trunk.

[1]:
https://ci.appveyor.com/project/rust-lang/rust/build/1.0.5799/job/psia8hh71alrhuu3

-- 
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/20171223/ceb85bee/attachment.html>


More information about the llvm-bugs mailing list