[LLVMbugs] [Bug 10955] New: [AVX] Cannot select f32 = X86ISD::FSETCCsd for x86/AVX target

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 18 05:54:47 PDT 2011


           Summary: [AVX] Cannot select f32 = X86ISD::FSETCCsd for x86/AVX
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            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: 139977

With following simplified .ll, llc with x86/AVX target failed as,

$ llc -mattr=+avx bugpoint-reduced-simplified.bc 

LLVM ERROR: Cannot select: 0x101832d10: f32 = X86ISD::FSETCCsd 0x101833610,
0x101833210, 0x101833510 [ID=6]
  0x101833610: f64 = undef [ORD=1] [ID=1]
  0x101833210: f64 = ConstantFP<0.000000e+00> [ORD=1] [ID=2]
  0x101833510: i8 = Constant<0> [ID=4]

$ cat bugpoint-reduced-simplified.ll 
; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
target triple = "x86_64-apple-macosx10.6.8"

define void @_ZN8picojsoneqERKNS_5valueES2_() uwtable ssp {
  br i1 undef, label %if.then, label %if.end

if.then:                                          ; preds = %entry
  br label %return

if.end:                                           ; preds = %entry
  br i1 undef, label %if.then5, label %if.end16

if.then5:                                         ; preds = %if.end

if.end16:                                         ; preds = %if.end
  br i1 undef, label %if.then19, label %if.end31

if.then19:                                        ; preds = %if.end16
  br i1 undef, label %land.rhs22, label %land.end30

land.rhs22:                                       ; preds = %if.then19
  %cmp29 = fcmp oeq double undef, 0.000000e+00
  br label %land.end30

land.end30:                                       ; preds = %land.rhs22,
  %0 = phi i1 [ false, %if.then19 ], [ %cmp29, %land.rhs22 ]
  store i1 %0, i1* undef
  br label %return

if.end31:                                         ; preds = %if.end16

return:                                           ; preds = %land.end30,
  ret void

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