[LLVMbugs] [Bug 13561] New: LLVM ERROR: Cannot select: 0x14214bb10: i16 = extract_vector_elt 0x14214b910, 0x142142c10 [ID=30]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 8 16:52:05 PDT 2012


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

             Bug #: 13561
           Summary: LLVM ERROR: Cannot select: 0x14214bb10: i16 =
                    extract_vector_elt 0x14214b910, 0x142142c10 [ID=30]
           Product: dragonegg
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9018
  --> http://llvm.org/bugs/attachment.cgi?id=9018
bz2 archive with files required to reproduce crash

Compiling the update.f source file from xplor-nih 2.27 with llvm/dragonegg
trunk and FSF gcc 4.7.1 on x86_64-apple-darwin12 using....

/sw/lib/gcc4.7/bin/gfortran -fplugin=/sw/lib/gcc4.7/lib/dragonegg.so -c
update.f -O1 -ftree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns
-fdefault-integer-8 -ffixed-line-length-120 -fno-second-underscore

produces a compiler ICE of the form...

LLVM ERROR: Cannot select: 0x14214bb10: i16 = extract_vector_elt 0x14214b910,
0x142142c10 [ID=30]
  0x14214b910: v8i16 = bitcast 0x14214b810 [ID=29]
    0x14214b810: v16i8 = vector_shuffle 0x142142f10,
0x142143110<0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u> [ID=28]
      0x142142f10: v16i8 = bitcast 0x142145210 [ID=27]
        0x142145210: v2i64 = and 0x142144e10, 0x14214b710 [ID=26]
          0x142144e10: v2i64,ch = load 0x14356cd40, 0x14214b610,
0x142143210<LD16[ConstantPool]> [ID=22]
            0x14214b610: i64 = X86ISD::WrapperRIP 0x142143010 [ID=18]
              0x142143010: i64 = TargetConstantPool<<2 x i64> <i64 1, i64 1>> 0
[ID=13]
            0x142143210: i64 = undef [ORD=2] [ID=1]
          0x14214b710: v2i64,ch = load 0x14356cd40, 0x142145610,
0x142143210<LD16[ConstantPool]> [ID=23]
            0x142145610: i64 = X86ISD::WrapperRIP 0x142144d10 [ID=19]
              0x142144d10: i64 = TargetConstantPool<<2 x i64> <i64 3, i64 3>> 0
[ID=14]
            0x142143210: i64 = undef [ORD=2] [ID=1]
      0x142143110: v16i8 = undef [ID=15]
  0x142142c10: i64 = Constant<0> [ID=9]
In function: scratc_

The crash is suppressed if -O0 is used with -ftree-vectorize or
-ftree-vectorize is removed at -O1 or higher.

-- 
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