[llvm-bugs] [Bug 35372] New: Crash in ARM backend for fmaxnum/fminnum

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 20 17:27:53 PST 2017


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

            Bug ID: 35372
           Summary: Crash in ARM backend for fmaxnum/fminnum
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: srhines at google.com
                CC: kristof.beyls at arm.com, llvm-bugs at lists.llvm.org,
                    pirama at google.com

Created attachment 19451
  --> https://bugs.llvm.org/attachment.cgi?id=19451&action=edit
reduced ll file

The attached test case breaks for fmaxnum. We also tested a few variations in
this source file. Changing the call to fminnum also will crash similarly. If we
remove the fp-armv8 flag, then the bug goes away (but the new instructions
aren't used either). There are also slightly different crashes if you change a
constant value from -3.276800e+04 to -3.376800e+04, but it isn't obvious if
this is just a different manifestation of the same bug.

$ llc bugpoint-reduced-simplified.ll 
LLVM ERROR: Cannot select: t12: v4f32 = fmaxnum t22, undef:v4f32
  t22: v4f32 = bitcast t21
    t21: v4i32 = ARMISD::VMOVIMM TargetConstant:i32<1735>
      t20: i32 = TargetConstant<1735>
  t11: v4f32 = undef
In function: _ZN7android11volumeMultiILi4ELi8EsffisEEvPT1_jPKT2_PT4_PKT3_T5_

-- 
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/20171121/29fab619/attachment.html>


More information about the llvm-bugs mailing list