[LLVMbugs] [Bug 695] NEW: llc -march=ppc32 fails with 'Cannot yet select ...'

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 18 15:08:33 PST 2006


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=695

           Summary: llc -march=ppc32 fails with 'Cannot yet select ...'
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: PowerPC
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: marco-ml at gmx.net


hello world does not work for me when telling llc to use the ppc assembly
printer on linux. llc -march=x86 and lli work fine.

$ llc -march=ppc32 hello-world-ppc.bc
Cannot yet select: 0x1394260: i32 = GlobalAddress <[13 x sbyte]* %.str_1> 0
/home/mcm/app/llvm-cvs/install-debug/bin/llc((anonymous
namespace)::PrintStackTrace()+0x17)[0xe5b5ed]
/home/mcm/app/llvm-cvs/install-debug/bin/llc((anonymous
namespace)::SignalHandler(int)+0xe5)[0xe5b823]
/lib/libc.so.6[0x2aaaab392890]
/lib/libc.so.6(gsignal+0x39)[0x2aaaab392839]
/lib/libc.so.6(abort+0xfe)[0x2aaaab393cde]
/home/mcm/app/llvm-cvs/install-debug/bin/llc((anonymous
namespace)::PPCDAGToDAGISel::SelectCode(llvm::SDOperand)+0x1dce)[0xb6fc02]
/home/mcm/app/llvm-cvs/install-debug/bin/llc((anonymous
namespace)::PPCDAGToDAGISel::Select(llvm::SDOperand)+0x1c2f)[0xb5e9c5]
/home/mcm/app/llvm-cvs/install-debug/bin/llc((anonymous
namespace)::PPCDAGToDAGISel::SelectCALL(llvm::SDOperand)+0x53b)[0xb5c57b]
/home/mcm/app/llvm-cvs/install-debug/bin/llc((anonymous
namespace)::PPCDAGToDAGISel::Select(llvm::SDOperand)+0x2df)[0xb5d075]
/home/mcm/app/llvm-cvs/install-debug/bin/llc((anonymous
namespace)::PPCDAGToDAGISel::InstructionSelectBasicBlock(llvm::SelectionDAG&)+0x218)[0xb58a7a]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
llvm::MachineFunction&, llvm::FunctionLoweringInfo&)+0x1b9)[0xc4c4fb]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::SelectionDAGISel::runOnFunction(llvm::Function&)+0x249)[0xc4b2b5]
/home/mcm/app/llvm-cvs/install-debug/bin/llc((anonymous
namespace)::PPCDAGToDAGISel::runOnFunction(llvm::Function&)+0x2b)[0xb87f49]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::FunctionPassManagerT::runPass(llvm::FunctionPass*,
llvm::Function*)+0x2c)[0xd9b28c]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::PassManagerT<llvm::FTraits>::runPasses(llvm::Function*,
std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocator<llvm::Pass*> >,
std::less<llvm::Pass*>, std::allocator<std::pair<llvm::Pass* const,
std::vector<llvm::Pass*, std::allocator<llvm::Pass*> > > > >&)+0x12d)[0xd99af5]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::PassManagerT<llvm::FTraits>::runOnUnit(llvm::Function*)+0x148)[0xd99980]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::FunctionPassManagerT::runOnFunction(llvm::Function&)+0x30)[0xd9b33c]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::FunctionPass::runOnModule(llvm::Module&)+0x97)[0xd2e6a3]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::ModulePassManager::runPass(llvm::ModulePass*,
llvm::Module*)+0x2c)[0xd9cd36]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::PassManagerT<llvm::MTraits>::runPasses(llvm::Module*,
std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocator<llvm::Pass*> >,
std::less<llvm::Pass*>, std::allocator<std::pair<llvm::Pass* const,
std::vector<llvm::Pass*, std::allocator<llvm::Pass*> > > > >&)+0x12d)[0xd9bc71]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::PassManagerT<llvm::MTraits>::runOnUnit(llvm::Module*)+0x148)[0xd9bafc]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::ModulePassManager::runOnModule(llvm::Module&)+0x30)[0xd2d6fa]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(llvm::PassManager::run(llvm::Module&)+0x2e)[0xd2dae6]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(main+0xd9c)[0x9089ee]
/lib/libc.so.6(__libc_start_main+0xe4)[0x2aaaab380674]
/home/mcm/app/llvm-cvs/install-debug/bin/llc(__gxx_personality_v0+0x182)[0x907aaa]
Aborted



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list