[LLVMbugs] [Bug 13964] New: [ARM, NEON] "cannot select v2f32 = fp_round" crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 27 19:20:23 PDT 2012


             Bug #: 13964
           Summary: [ARM,NEON] "cannot select v2f32 = fp_round" crash
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

With this program:

; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
target triple = "arm-apple-darwin12.1.0"

define void @f_fu() nounwind {
  %gep_offset_offset_load_to_float = fptrunc <4 x double> undef to <4 x float>
  store <4 x float> %gep_offset_offset_load_to_float, <4 x float>* undef, align
4, !filename !0, !first_line !1, !first_column !2, !last_line !1, !last_column
  ret void

And top-of-tree, I get this crash if I run llc as follows:

% llc -mcpu=cortex-a9 -mattr=+neon bugpoint-reduced-simplified.ll
LLVM ERROR: Cannot select: 0x7fdd51031710: v2f32 = fp_round 0x7fdd51031410,
0x7fdd51031110 [ID=4]
  0x7fdd51031410: v2f64 = undef [ID=3]
  0x7fdd51031110: i32 = TargetConstant<0> [ORD=1] [ID=1]
In function: f_fu

(This may be a dupe of bug 12540--I'm not sure, so am reporting it anyway.)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list