[LLVMbugs] [Bug 20474] New: [AArch64] Crash with "Unknown type"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 28 08:41:39 PDT 2014


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

            Bug ID: 20474
           Summary: [AArch64] Crash with "Unknown type"
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: valerii.hiora at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12835
  --> http://llvm.org/bugs/attachment.cgi?id=12835&action=edit
Test case

Compiles successfully for other targets (tested x86, x86_64, armv7)

Here is the log:

bin/llc ~/projects/rust/build_arm64/test.ll
Unknown type!
UNREACHABLE executed at ../lib/IR/ValueTypes.cpp:251!
0  llc                      0x000000010afcd5c8
llvm::sys::PrintStackTrace(__sFILE*) + 40
1  llc                      0x000000010afcdab4 SignalHandler(int) + 564
2  libsystem_platform.dylib 0x00007fff951dc5aa _sigtramp + 26
3  libsystem_platform.dylib 0x00007fff00000004 _sigtramp + 1793210996
4  llc                      0x000000010afcd866 abort + 22
5  llc                      0x000000010af919f1
llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 481
6  llc                      0x000000010ad089b3 llvm::MVT::getVT(llvm::Type*,
bool) + 1027
7  llc                      0x000000010ad076ac llvm::EVT::getEVT(llvm::Type*,
bool) + 252
8  llc                      0x000000010aa38067 (anonymous
namespace)::CodeGenPrepare::OptimizeInst(llvm::Instruction*) + 2071
9  llc                      0x000000010aa36590 (anonymous
namespace)::CodeGenPrepare::runOnFunction(llvm::Function&) + 6064
10 llc                      0x000000010ace504d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 333
11 llc                      0x000000010ace52db
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
12 llc                      0x000000010ace590c
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1148
13 llc                      0x000000010a5681e5 main + 6117
14 libdyld.dylib            0x00007fff8ee615fd start + 1
Stack dump:
0.    Program arguments: bin/llc -mtriple=arm64-apple-ios
/Users/vhbit/projects/external/rust/build_arm64/test.ll
1.    Running pass 'Function Pass Manager' on module
'/Users/vhbit/projects/external/rust/build_arm64/test.ll'.
2.    Running pass 'CodeGen Prepare' on function '@test'

-- 
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/20140728/a756d041/attachment.html>


More information about the llvm-bugs mailing list