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: unassignedb...@nondot.org
          Reporter: a...@crichton.co
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to