[LLVMbugs] [Bug 21056] New: clang fails to cross compile LLVM for AArch64 - assert in AArch64FastISel
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 24 10:01:25 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21056
Bug ID: 21056
Summary: clang fails to cross compile LLVM for AArch64 - assert
in AArch64FastISel
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: unassignedbugs at nondot.org
Reporter: llvm.mail.list at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang fails on the assertion when using it to cross compile LLVM for AArch64
with the following stack trace:
clang-3.6: /path/to/llvm/lib/Target/AArch64/AArch64FastISel.cpp:3660: unsigned
int {anonymous}::AArch64FastISel::emitASR_ri(llvm::MVT, llvm::MVT, unsigned
int, bool, uint64_t, bool): Assertion `(SrcVT == MVT::i8 || SrcVT == MVT::i16
|| SrcVT == MVT::i32 || SrcVT == MVT::i64) && "Unexpected source value type."'
failed.
llvm::sys::PrintStackTrace(_IO_FILE*) + 38
llvm::FastISel::selectInstruction(llvm::Instruction const*) + 709
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1371
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1095
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 95
llvm::FPPassManager::runOnFunction(llvm::Function&) + 290
llvm::FPPassManager::runOnModule(llvm::Module&) + 84
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 244
llvm::legacy::PassManager::run(llvm::Module&) + 39
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 127
clang::ParseAST(clang::Sema&, bool, bool) + 776
clang::ASTFrontendAction::ExecuteAction() + 322
clang::CodeGenAction::ExecuteAction() + 1467
clang::FrontendAction::Execute() + 139
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 770
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 993
cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 770
main + 1015
__libc_start_main + 245
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'/home/oleg/work/src/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp'.
4. Running pass 'AArch64 Instruction Selection' on function
'@_ZNK12_GLOBAL__N_111DAGCombiner7isAliasEPN4llvm12LSBaseSDNodeES3_'
The preprocessed cpp and the clang's command line attached.
--
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/20140924/f21e7c05/attachment.html>
More information about the llvm-bugs
mailing list