[llvm-commits] [llvm] r140254 - /llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp

John McCall rjmccall at apple.com
Wed Sep 21 10:33:28 PDT 2011


On Sep 21, 2011, at 9:41 AM, Akira Hatanaka wrote:
> Author: ahatanak
> Date: Wed Sep 21 11:41:43 2011
> New Revision: 140254
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=140254&view=rev
> Log:
> MipsArchVersion does not need to be in the initialization list and MipsABI
> should be initialized to UnknownABI.

This is causing test suite failures, like the following:

******************** TEST 'LLVM :: CodeGen/Mips/alloca.ll' FAILED ********************
Script:
--
/Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin10-gcc42-RA/clang-build/Release+Asserts/bin/llc -march=mipsel < /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin10-gcc42-RA/llvm/test/CodeGen/Mips/alloca.ll | /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin10-gcc42-RA/clang-build/Release+Asserts/bin/FileCheck /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin10-gcc42-RA/llvm/test/CodeGen/Mips/alloca.ll
--
Exit Code: 1
Command Output (stderr):
--
Formal argument #0 has unhandled type i32
UNREACHABLE executed at /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin10-gcc42-RA/llvm/lib/CodeGen/CallingConvLower.cpp:81!
0  llc               0x0000000100c5af72 PrintStackTrace(void*) + 34
1  llc               0x0000000100c5bef3 SignalHandler(int) + 707
2  libSystem.B.dylib 0x00007fff804de67a _sigtramp + 26
3  llc               0x0000000100017ad9 llvm::LLParser::ParseType(llvm::Type*&, bool) + 521
4  llc               0x0000000100c5b396 abort + 22
5  llc               0x0000000100c467bd llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 381
6  llc               0x00000001007ac3ea llvm::CCState::AnalyzeFormalArguments(llvm::SmallVectorImpl<llvm::ISD::InputArg> const&, bool (*)(unsigned int, llvm::MVT, llvm::MVT, llvm::CCValAssign::LocInfo, llvm::ISD::ArgFlagsTy, llvm::CCState&)) + 346
7  llc               0x0000000100177eab llvm::MipsTargetLowering::LowerFormalArguments(llvm::SDValue, llvm::CallingConv::ID, bool, llvm::SmallVectorImpl<llvm::ISD::InputArg> const&, llvm::DebugLoc, llvm::SelectionDAG&, llvm::SmallVectorImpl<llvm::SDValue>&) const + 3931
8  llc               0x00000001006c36f0 llvm::SelectionDAGISel::LowerArguments(llvm::BasicBlock const*) + 3056
9  llc               0x00000001006ffbd8 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2248
10 llc               0x00000001007003ac llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 460
11 llc               0x00000001008400f3 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 83
12 llc               0x0000000100b8e470 llvm::FPPassManager::runOnFunction(llvm::Function&) + 752
13 llc               0x0000000100b8e59b llvm::FPPassManager::runOnModule(llvm::Module&) + 187
14 llc               0x0000000100b8dd4f llvm::MPPassManager::runOnModule(llvm::Module&) + 607
15 llc               0x0000000100b8e051 llvm::PassManagerImpl::run(llvm::Module&) + 177
16 llc               0x0000000100b8e16d llvm::PassManager::run(llvm::Module&) + 13
17 llc               0x00000001000035ef main + 4975
18 llc               0x0000000100001834 start + 52
Stack dump:
0.	Program arguments: /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin10-gcc42-RA/clang-build/Release+Asserts/bin/llc -march=mipsel 
1.	Running pass 'Function Pass Manager' on module '<stdin>'.
2.	Running pass 'MIPS DAG->DAG Pattern Instruction Selection' on function '@twoalloca'
FileCheck error: '-' is empty.

John.



More information about the llvm-commits mailing list