[LLVMbugs] [Bug 9905] New: Failure in code selection for llvm intrinsics sqrt/exp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 12 05:53:38 PDT 2011


           Summary: Failure in code selection for llvm intrinsics sqrt/exp
           Product: tools
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: babslachem at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=6583)
 --> (http://llvm.org/bugs/attachment.cgi?id=6583)
LLVM source file


When trying to llvm intrinsics sqrt/exp with vector datatype for ARM v7a
targets I've got following error:

LLVM ERROR: Cannot select: 0x9315a00: v4f32 = fsqrt 0x9315ca8 [ORD=2] [ID=8]
  0x9315ca8: v4f32 = bit_convert 0x9315c20 [ID=7]
    0x9315c20: v2f64,ch = load 0x9302624, 0x9315b98, 0x93158f0<LD16[@A]> [ID=6]
      0x9315b98: i32 = ARMISD::Wrapper 0x9315868 [ID=5]
        0x9315868: i32 = TargetGlobalAddress<<4 x float>* @A> 0 [ID=3]
      0x93158f0: i32 = undef [ORD=1] [ID=2]

To reproduce the problem use llc 2.9 on attached file as follows:

llc sqrtv4.ll -march=arm -mcpu=cortex-a9

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