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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to