[llvm-bugs] [Bug 31669] New: GlobalISel: Instruction selection failed
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 17 05:31:22 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31669
Bug ID: 31669
Summary: GlobalISel: Instruction selection failed
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: vleschuk at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17847
--> https://llvm.org/bugs/attachment.cgi?id=17847&action=edit
Reproduction script and source
When trying to compile simple source (see attached) with GlobalISel enabled it
generates the following error:
fatal error: error in backend: Instruction selection failed
And doesn't fallback to usage of old ISel.
The problematic code:
struct S {
void f() {}
};
S s;
int main() {
s.f();
return 0;
}
This happens once you introduce call of object's non-static method: if you
change f() to static or make it just a global function, error is not
reproduced.
LLVM was build from master: 62b3258a7c27b81ccc83d0e19fa2baf295ec460e,
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292205
--
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/20170117/69e5ba1d/attachment.html>
More information about the llvm-bugs
mailing list