[LLVMbugs] [Bug 16223] New: ICE: Unexpected ValueType for argument

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 4 08:31:26 PDT 2013


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

            Bug ID: 16223
           Summary: ICE: Unexpected ValueType for argument
           Product: new-bugs
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: schnetter at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I receive an internal compiler error "Unexpected ValueType for argument!".

I am using
{{{
clang version 3.4 (login1.mcs.anl.gov:src/llvm-trunk/tools/clang
a56f5370124826a853d38050afa60fe85096870b) (login1.mcs.anl.gov:src/llvm-trunk
66fd9b1b79e04004afe6eca8a438d6430341aa00)
Target: powerpc64-bgq-linux
Thread model: posix
}}}

This is the backtrace:
{{{
Unexpected ValueType for argument!
UNREACHABLE executed at
/gpfs/vesta-home/hfinkel/src/llvm-trunk/lib/Target/PowerPC/PPCISelLowering.cpp:4309!
0  clang     0x00000000121ed2ac llvm::sys::PrintStackTrace(_IO_FILE*) +
4280434500
1  clang     0x00000000121ed510
2  clang     0x00000000121ee0f4
3            0x00000fff97d80418 __kernel_sigtramp_rt64 + 0
4  libc.so.6 0x0000008050136ed8 abort + 4293479816
5  clang     0x00000000121d0094 llvm::llvm_unreachable_internal(char const*,
char const*, unsigned int) + 4280320844
6  clang     0x000000001178c960
llvm::PPCTargetLowering::LowerCall_64SVR4(llvm::SDValue, llvm::SDValue,
llvm::CallingConv::ID, bool, bool, llvm::SmallVectorImpl<llvm::ISD::OutputArg>
const&, llvm::SmallVectorImpl<llvm::SDValue> const&,
llvm::SmallVectorImpl<llvm::ISD::InputArg> const&, llvm::DebugLoc,
llvm::SelectionDAG&, llvm::SmallVectorImpl<llvm::SDValue>&) const + 4269803832
7  clang     0x00000000117952d8
llvm::PPCTargetLowering::LowerCall(llvm::TargetLowering::CallLoweringInfo&,
llvm::SmallVectorImpl<llvm::SDValue>&) const + 4269838864
8  clang     0x000000001193f2c4
llvm::TargetLowering::LowerCallTo(llvm::TargetLowering::CallLoweringInfo&)
const + 4271554124
9  clang     0x000000001194d4ac
llvm::SelectionDAGBuilder::LowerCallTo(llvm::ImmutableCallSite, llvm::SDValue,
bool, llvm::MachineBasicBlock*) + 4271611492
10 clang     0x00000000119560d0
llvm::SelectionDAGBuilder::visitCall(llvm::CallInst const&) + 4271647320
11 clang     0x0000000011946cfc llvm::SelectionDAGBuilder::visit(unsigned int,
llvm::User const&) + 4271585204
12 clang     0x0000000011964fa8
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 4271707760
13 clang     0x000000001197f58c
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 4271814228
14 clang     0x000000001198027c
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) +
4271817524
15 clang     0x0000000011981758
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) +
4271822848
16 clang     0x000000001175e128
17 clang     0x0000000011ae406c
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 4273247460
18 clang     0x000000001216a7d8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 4279919872
19 clang     0x000000001216a91c llvm::FPPassManager::runOnModule(llvm::Module&)
+ 4279920180
20 clang     0x000000001216a0dc llvm::MPPassManager::runOnModule(llvm::Module&)
+ 4279918132
21 clang     0x000000001216a404 llvm::PassManagerImpl::run(llvm::Module&) +
4279918924
22 clang     0x000000001216a514 llvm::PassManager::run(llvm::Module&) +
4279919180
23 clang     0x0000000010498904
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 4250441116
24 clang     0x0000000010495774
25 clang     0x0000000010656810 clang::ParseAST(clang::Sema&, bool, bool) +
4252225272
26 clang     0x00000000102d8c20 clang::ASTFrontendAction::ExecuteAction() +
4248655592
27 clang     0x0000000010493eb0 clang::CodeGenAction::ExecuteAction() +
4250422504
28 clang     0x00000000102d9294 clang::FrontendAction::Execute() + 4248657084
29 clang     0x00000000102b4584
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 4248507932
30 clang     0x0000000010294f40
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4248385272
31 clang     0x000000001028a358 cc1_main(char const**, char const**, char
const*, void*) + 4248341728
32 clang     0x00000000102926d0 main + 4248374952
33 libc.so.6 0x000000805011bcd8
34 libc.so.6 0x000000805011bed0 __libc_start_main + 4293374464
Stack dump:
0.    Program arguments:
/gpfs/vesta-home/projects/llvm/r181589-20130510/bin/clang -cc1 -triple
powerpc64-bgq-linux -S -disable-free -main-file-name bench.cc -static-define
-mrelocation-model static -mdisable-fp-elim -fmath-errno -ffp-contract=fast
-mconstructor-aliases -target-cpu a2q -target-linker-version 2.20.51.0.2
-coverage-file /tmp/bench-gMzaFn.s -resource-dir
/gpfs/vesta-home/projects/llvm/r181589-20130510/bin/../lib/clang/3.4 -I
/soft/compilers/ibmcmp-feb2013/xlmass/bg/7.3/include -internal-isystem
/usr/include/c++/v1 -internal-isystem /usr/local/include -internal-isystem
/gpfs/vesta-home/projects/llvm/r181589-20130510/bin/../lib/clang/3.4/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-std=gnu++11 -fdeprecated-macro -fno-dwarf-directory-asm
-fdebug-compilation-dir /home/eschnett/src/vecmathlib-qpx -ferror-limit 19
-fmessage-length 80 -mstackrealign -fno-signed-char -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -backend-option -vectorize-loops -isystem
/home/projects/llvm/libc++/include -isystem
/home/projects/llvm/libstdc++fixup/include -isystem
/bgsys/drivers/ppcfloor/gnu-linux/powerpc64-bgq-linux/include/c++/4.4.6
-isystem
/bgsys/drivers/ppcfloor/gnu-linux/powerpc64-bgq-linux/include/c++/4.4.6/powerpc64-bgq-linux
-isystem /bgsys/drivers/ppcfloor/gnu-linux/powerpc64-bgq-linux/sys-include
-mllvm -enable-misched -mllvm -enable-aa-sched-mi -mllvm -optimize-regalloc -o
/tmp/bench-gMzaFn.s -x c++ /home/eschnett/src/vecmathlib-qpx/bench.cc 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'/home/eschnett/src/vecmathlib-qpx/bench.cc'.
4.    Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function
'@_ZNK10vecmathlib7realvecIdLi4EE4atanEv'
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4 (login1.mcs.anl.gov:src/llvm-trunk/tools/clang
a56f5370124826a853d38050afa60fe85096870b) (login1.mcs.anl.gov:src/llvm-trunk
66fd9b1b79e04004afe6eca8a438d6430341aa00)
Target: powerpc64-bgq-linux
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/bench-koTdWf.cpp
clang: note: diagnostic msg: /tmp/bench-koTdWf.sh
clang: note: diagnostic msg: 
}}}

-- 
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/20130604/a06b4728/attachment.html>


More information about the llvm-bugs mailing list