[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 13964] New: [ARM, NEON] "cannot select v2f32 = fp_round" crash
From:       bugzilla-daemon () llvm ! org
Date:       2012-09-28 2:20:23
Message-ID: bug-13964-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

http://llvm.org/bugs/show_bug.cgi?id=13964

             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@nondot.org
        ReportedBy: matt@pharr.org
                CC: llvmbugs@cs.uiuc.edu
    Classification: Unclassified


With this program:

; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128"
 target triple = "arm-apple-darwin12.1.0"

define void @f_fu() nounwind {
allocas:
  %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
!3
  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.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic