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

            Bug ID: 41916
           Summary: Assertion `isSimple() && "Expected a
                    SimpleValueType!"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedb...@nondot.org
          Reporter: alina.sbir...@gmail.com
                CC: arnaud.degrandmai...@arm.com,
                    llvm-bugs@lists.llvm.org, peter.sm...@linaro.org,
                    ties.st...@arm.com

The following reduced testcase fails with the assertion:
include/llvm/CodeGen/ValueTypes.h:253: llvm::MVT llvm::EVT::getSimpleVT()
const: Assertion `isSimple() && "Expected a SimpleValueType!"' failed.

=========
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64--linux-eabi"

; Function Attrs: nounwind
define void @f() #0 {
entry:
  br label %"for mixed.s0.x"

"for mixed.s0.x":                                 ; preds = %"for mixed.s0.x",
%entry
  %0 = shufflevector <4 x float> zeroinitializer, <4 x float> undef, <3 x i32>
<i32 0, i32 1, i32 2>
  %1 = fmul reassoc nnan ninf nsz contract afn <3 x float> %0, <float
2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  %2 = fptoui <3 x float> %1 to <3 x i8>
  %3 = bitcast i8* undef to <3 x i8>*
  store <3 x i8> %2, <3 x i8>* %3, align 1
  br label %"for mixed.s0.x"
}

attributes #0 = { nounwind }
===========

To reproduce run: llc -O3 reduced.ll

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to