[llvm-bugs] [Bug 41916] New: Assertion `isSimple() && "Expected a SimpleValueType!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 16 16:03:52 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: alina.sbirlea at gmail.com
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, peter.smith at linaro.org,
                    Ties.Stuij at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190516/8da3b39e/attachment.html>


More information about the llvm-bugs mailing list