[LLVMbugs] [Bug 10994] New: [AVX] Cannot select ch = Prefetch

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 23 02:22:03 PDT 2011


           Summary: [AVX] Cannot select ch = Prefetch
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: syoyofujita at gmail.com
                CC: llvmbugs at cs.uiuc.edu

revision: 140371

x86/AVX backend segfaults for following LLVM IR including llvm.prefetch().

$ llc -mavx bugpoint-reduces-simplified.bc
LLVM ERROR: Cannot select: 0x101832410: ch = Prefetch 0x10110bae8, 0x101832010,
0x101832110, 0x101832210, 0x101832310<LD1[undef]> [ID=9]
  0x101832010: i64 = undef [ID=1]
  0x101832110: i32 = Constant<0> [ID=2]
  0x101832210: i32 = Constant<2> [ID=3]
  0x101832310: i32 = Constant<1> [ID=4]

$ cat bugpoint-reduced-simplified.ll 
; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
target triple = "x86_64-apple-macosx10.6.8"
define void
@_ZNK6embree13ObjectBinningILi2EE5splitEPNS_4BBoxINS_4ssefEEERS1_S6_() uwtable
ssp align 2 {
  call void @llvm.prefetch(i8* undef, i32 0, i32 2, i32 1) nounwind
  br i1 undef, label %cond.true.i, label %_ZN6embree4sseiixEm.exit

cond.true.i:                                      ; preds = %entry

_ZN6embree4sseiixEm.exit:                         ; preds = %entry

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