[LLVMbugs] [Bug 7602] New: Cannot emit physreg copy instruction

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 8 22:31:33 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7602

           Summary: Cannot emit physreg copy instruction
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5195)
 --> (http://llvm.org/bugs/attachment.cgi?id=5195)
bugpoint-reduced-simplified.bc

Fails when building freebsd/sbin/newfs/mkfs.c with clang version 2.8 (trunk
107952)

% llc bugpoint-reduced-simplified.bc 
Cannot emit physreg copy instruction
UNREACHABLE executed at
/Users/pwo/src/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp:381!
0  llc               0x00000001005fecb2 std::_Rb_tree<llvm::sys::Path,
llvm::sys::Path, std::_Identity<llvm::sys::Path>, std::less<llvm::sys::Path>,
std::allocator<llvm::sys::Path>
>::_M_erase(std::_Rb_tree_node<llvm::sys::Path>*) + 8546
1  llc               0x00000001005ff169 std::_Rb_tree<llvm::sys::Path,
llvm::sys::Path, std::_Identity<llvm::sys::Path>, std::less<llvm::sys::Path>,
std::allocator<llvm::sys::Path>
>::_M_erase(std::_Rb_tree_node<llvm::sys::Path>*) + 9753
2  libSystem.B.dylib 0x00007fff85e6835a _sigtramp + 26
3  libSystem.B.dylib 0x0000000100900000 _sigtramp + 2057927872
4  llc               0x00000001005e3285 llvm::cl::opt<bool, true,
llvm::cl::parser<bool> >::~opt() + 8517
5  llc               0x00000001003c4b6e
std::vector<std::pair<llvm::MachineBasicBlock*, unsigned int>,
std::allocator<std::pair<llvm::MachineBasicBlock*, unsigned int> >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::pair<llvm::MachineBasicBlock*,
unsigned int>*, std::vector<std::pair<llvm::MachineBasicBlock*, unsigned int>,
std::allocator<std::pair<llvm::MachineBasicBlock*, unsigned int> > > >,
std::pair<llvm::MachineBasicBlock*, unsigned int> const&) + 5934
6  llc               0x00000001003194be llvm::Pass*
llvm::callDefaultCtor<llvm::LiveVariables>() + 3214
7  llc               0x000000010032b1d5 llvm::PassInfo::~PassInfo() + 117
8  llc               0x000000010058ff2b llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 21947
9  llc               0x00000001005901fb llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 22667
10 llc               0x0000000100590366 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 23030
11 llc               0x0000000100590a8c llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 24860
12 llc               0x00000001005912fd llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 27021
13 llc               0x0000000100015a81 void
llvm::cl::ValuesClass<int>::apply<llvm::cl::opt<llvm::PassDebugLevel, false,
llvm::cl::parser<llvm::PassDebugLevel> > >(llvm::cl::opt<llvm::PassDebugLevel,
false, llvm::cl::parser<llvm::PassDebugLevel> >&) const + 12257
14 llc               0x0000000100014444 void
llvm::cl::ValuesClass<int>::apply<llvm::cl::opt<llvm::PassDebugLevel, false,
llvm::cl::parser<llvm::PassDebugLevel> > >(llvm::cl::opt<llvm::PassDebugLevel,
false, llvm::cl::parser<llvm::PassDebugLevel> >&) const + 6564
15 llc               0x0000000000000002 void
llvm::cl::ValuesClass<int>::apply<llvm::cl::opt<llvm::PassDebugLevel, false,
llvm::cl::parser<llvm::PassDebugLevel> > >(llvm::cl::opt<llvm::PassDebugLevel,
false, llvm::cl::parser<llvm::PassDebugLevel> >&) const + 4294890850
Stack dump:
0.    Program arguments: llc bugpoint-reduced-simplified.bc 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.    Running pass 'Subregister lowering instruction pass' on function '@mkfs'
Abort

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list