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