<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Unable to split UADDV on v8i32"
   href="https://llvm.org/bugs/show_bug.cgi?id=25056">25056</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unable to split UADDV on v8i32
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: AArch64
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>charlesturner7c5@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15004" name="attach_15004" title="Reduced input example for llc">attachment 15004</a> <a href="attachment.cgi?id=15004&action=edit" title="Reduced input example for llc">[details]</a></span>
Reduced input example for llc

Attached is a reduced test case, when I run,

llc < reduced2.ll

I get the backtrace below. The node failing the check in ReplaceNodeResults is,

Split node result: t29: v8i32 = AArch64ISD::UADDV t35

Backtrace follows,

Don't know how to custom expand this
UNREACHABLE executed at
/work/LLVM/llvm-gitsvn/lib/Target/AArch64/AArch64ISelLowering.cpp:9607!
#0 0x7fe827a75322 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/work/LLVM/llvm-gitsvn/lib/Support/Unix/Signals.inc:405:0
#1 0x7fe827a75637 PrintStackTraceSignalHandler(void*)
/work/LLVM/llvm-gitsvn/lib/Support/Unix/Signals.inc:463:0
#2 0x7fe827a73da2 llvm::sys::RunSignalHandlers()
/work/LLVM/llvm-gitsvn/lib/Support/Signals.cpp:34:0
#3 0x7fe827a741fa SignalHandler(int)
/work/LLVM/llvm-gitsvn/lib/Support/Unix/Signals.inc:211:0
#4 0x7fe826f91d40 (/lib/x86_64-linux-gnu/libc.so.6+0x36d40)
#5 0x7fe826f91cc9 gsignal
/build/buildd/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0
#6 0x7fe826f950d8 abort /build/buildd/eglibc-2.19/stdlib/abort.c:91:0
#7 0x7fe8279f00db bindingsErrorHandler(void*, std::string const&, bool)
/work/LLVM/llvm-gitsvn/lib/Support/ErrorHandling.cpp:126:0
#8 0x7fe82be6579a
llvm::AArch64TargetLowering::ReplaceNodeResults(llvm::SDNode*,
llvm::SmallVectorImpl<llvm::SDValue>&, llvm::SelectionDAG&) const
/work/LLVM/llvm-gitsvn/lib/Target/AArch64/AArch64ISelLowering.cpp:9609:0
#9 0x7fe827ec6c93 llvm::DAGTypeLegalizer::CustomLowerNode(llvm::SDNode*,
llvm::EVT, bool)
/work/LLVM/llvm-gitsvn/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:932:0
#10 0x7fe827edc91b llvm::DAGTypeLegalizer::SplitVectorResult(llvm::SDNode*,
unsigned int)
/work/LLVM/llvm-gitsvn/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:574:0
#11 0x7fe827ec39c4 llvm::DAGTypeLegalizer::run()
/work/LLVM/llvm-gitsvn/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:254:0
#12 0x7fe827ec89e8 llvm::SelectionDAG::LegalizeTypes()
/work/LLVM/llvm-gitsvn/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:1144:0
#13 0x7fe827fc9596 llvm::SelectionDAGISel::CodeGenAndEmitDAG()
/work/LLVM/llvm-gitsvn/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:716:0
#14 0x7fe827fc8c74
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&)
/work/LLVM/llvm-gitsvn/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:627:0
#15 0x7fe827fcbfef llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function
const&)
/work/LLVM/llvm-gitsvn/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1325:0
#16 0x7fe827fc7d1a
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
/work/LLVM/llvm-gitsvn/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:471:0
#17 0x7fe82bdfd301 (anonymous
namespace)::AArch64DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
/work/LLVM/llvm-gitsvn/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:58:0
#18 0x7fe82a08b8b9 llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
/work/LLVM/llvm-gitsvn/lib/CodeGen/MachineFunctionPass.cpp:44:0
#19 0x7fe8296b28fc llvm::FPPassManager::runOnFunction(llvm::Function&)
/work/LLVM/llvm-gitsvn/lib/IR/LegacyPassManager.cpp:1528:0
#20 0x7fe8296b2a8f llvm::FPPassManager::runOnModule(llvm::Module&)
/work/LLVM/llvm-gitsvn/lib/IR/LegacyPassManager.cpp:1549:0
#21 0x7fe8296b2e2a (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&)
/work/LLVM/llvm-gitsvn/lib/IR/LegacyPassManager.cpp:1605:0
#22 0x7fe8296b3581 llvm::legacy::PassManagerImpl::run(llvm::Module&)
/work/LLVM/llvm-gitsvn/lib/IR/LegacyPassManager.cpp:1708:0
#23 0x7fe8296b37c1 llvm::legacy::PassManager::run(llvm::Module&)
/work/LLVM/llvm-gitsvn/lib/IR/LegacyPassManager.cpp:1740:0
#24 0x4251db compileModule(char**, llvm::LLVMContext&)
/work/LLVM/llvm-gitsvn/tools/llc/llc.cpp:381:0
#25 0x424071 main /work/LLVM/llvm-gitsvn/tools/llc/llc.cpp:204:0
#26 0x7fe826f7cec5 __libc_start_main
/build/buildd/eglibc-2.19/csu/libc-start.c:321:0
#27 0x422979 _start (/work/LLVM/llvm-build/bin/llc+0x422979)
Stack dump:
0.      Program arguments: llc -debug 
1.      Running pass 'Function Pass Manager' on module '<stdin>'.
2.      Running pass 'AArch64 Instruction Selection' on function '@test'
Aborted (core dumped)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>