[LLVMbugs] [Bug 19335] New: [ARM64] Assertion failure on type legalization about operand wasn't scalarized

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 3 22:42:52 PDT 2014


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

            Bug ID: 19335
           Summary: [ARM64] Assertion failure on type legalization about
                    operand wasn't scalarized
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: Hao.Liu at arm.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Test case test.c:
------------------------------------------------------------------
#include "arm_neon.h"

uint64_t dotests_type_legalizer(int64x1_t in0) {
      return vget_lane_u64(vorn_u64(vcgez_s64(in0),
                                    in0),
                           0);
}
------------------------------------------------------------------

To RUN:
clang -O3 --target=arm64-linux-gnu -c test.c

The Error information is as following:
/lib/CodeGen/SelectionDAG/LegalizeTypes.h:506: llvm::SDValue
llvm::DAGTypeLegalizer::GetScalarizedVector(llvm::SDValue): Assertion
`ScalarizedOp.getNode() && "Operand wasn't scalarized?"' failed.


AArch64 backend once also had such assertion failure. It was fixed in the
backend http://llvm.org/viewvc/llvm-project?view=revision&revision=201381.

-- 
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/20140404/e891aef7/attachment.html>


More information about the llvm-bugs mailing list