[llvm-bugs] [Bug 46175] New: [AArch64] Crash in instruction selection for single element array of a struct

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 2 12:33:38 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46175

            Bug ID: 46175
           Summary: [AArch64] Crash in instruction selection for single
                    element array of a struct
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: me at jhass.eu
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 23563
  --> https://bugs.llvm.org/attachment.cgi?id=23563&action=edit
triggering LLVM IR

Stack dump:
0.      Program arguments: /opt/compiler-explorer/clang-trunk/bin/llc -o
./output.s <source> 
1.      Running pass 'Function Pass Manager' on module '<source>'.
2.      Running pass 'AArch64 Instruction Selection' on function
'@"*VaList#initialize<StaticArray(LibC::VaListTag,
1)>:StaticArray(LibC::VaListTag, 1)"'
 #0 0x0000562b59e0afba llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x24defba)
 #1 0x0000562b59e08d84 llvm::sys::RunSignalHandlers()
(/opt/compiler-explorer/clang-trunk/bin/llc+0x24dcd84)
 #2 0x0000562b59e08ed3 SignalHandler(int)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x24dced3)
 #3 0x00007fcc33c10890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
 #4 0x0000562b59be3082 getCopyFromParts(llvm::SelectionDAG&, llvm::SDLoc
const&, llvm::SDValue const*, unsigned int, llvm::MVT, llvm::EVT, llvm::Value
const*, llvm::Optional<unsigned int>, llvm::Optional<llvm::ISD::NodeType>)
(.isra.1026) (/opt/compiler-explorer/clang-trunk/bin/llc+0x22b7082)
 #5 0x0000562b59c1f93d llvm::SelectionDAGISel::LowerArguments(llvm::Function
const&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x22f393d)
 #6 0x0000562b59c75770
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x2349770)
 #7 0x0000562b59c7662d
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(.part.828) (/opt/compiler-explorer/clang-trunk/bin/llc+0x234a62d)
 #8 0x0000562b593ab5f0
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1a7f5f0)
 #9 0x0000562b5974c9cf llvm::FPPassManager::runOnFunction(llvm::Function&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1e209cf)
#10 0x0000562b5974d0c1 llvm::FPPassManager::runOnModule(llvm::Module&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1e210c1)
#11 0x0000562b5974d4c1 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1e214c1)
#12 0x0000562b580338f2 compileModule(char**, llvm::LLVMContext&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x7078f2)
#13 0x0000562b57f911ef main
(/opt/compiler-explorer/clang-trunk/bin/llc+0x6651ef)
#14 0x00007fcc32aceb97 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21b97)
#15 0x0000562b5802ca6a _start
(/opt/compiler-explorer/clang-trunk/bin/llc+0x700a6a)

-- 
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/20200602/06c3f936/attachment.html>


More information about the llvm-bugs mailing list