[LLVMbugs] [Bug 10464] Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 27 18:57:15 PST 2012


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

Meador Inge <meadori at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |meadori at gmail.com
         Resolution|                            |WORKSFORME

--- Comment #1 from Meador Inge <meadori at gmail.com> 2012-02-27 20:57:15 CST ---
I can't reproduce this in trunk:

motherbrain:llvm meadori$ ./build/Debug+Asserts/bin/llc --version
LLVM (http://llvm.org/):
  LLVM version 3.1svn
  DEBUG build with assertions.
  Built Feb 25 2012 (18:06:49).
  Default target: x86_64-apple-darwin11.2.0
  Host CPU: penryn

  Registered Targets:
    arm      - ARM
    c        - C backend
    cellspu  - STI CBEA Cell SPU [experimental]
    cpp      - C++ backend
    hexagon  - Hexagon
    mblaze   - MBlaze
    mips     - Mips
    mips64   - Mips64 [experimental]
    mips64el - Mips64el [experimental]
    mipsel   - Mipsel
    msp430   - MSP430 [experimental]
    ppc32    - PowerPC 32
    ppc64    - PowerPC 64
    ptx32    - PTX (32-bit) [Experimental]
    ptx64    - PTX (64-bit) [Experimental]
    sparc    - Sparc
    sparcv9  - Sparc V9
    thumb    - Thumb
    x86      - 32-bit X86: Pentium-Pro and above
    x86-64   - 64-bit X86: EM64T and AMD64
    xcore    - XCore
motherbrain:llvm meadori$ cat fail_101538.ll 
; ModuleID = 'bugpoint-reduced-simplified.bc'
target triple = "x86_64-unknown-linux-gnu"

define void @autogen_101538_1000() {
BB:
  %I = insertelement <16 x i64> undef, i64 480971, i32 7
  %Shuff8 = shufflevector <16 x i64> %I, <16 x i64> undef, <16 x i32> <i32
undef, i32 undef, i32 29, i32 31, i32 undef, i32 3, i32 5, i32 7, i32 9, i32
undef, i32 13, i32 15, i32 17, i32 undef, i32 21, i32 23>
  br label %CF

CF:                                               ; preds = %CF, %BB
  br i1 undef, label %CF, label %CF78

CF78:                                             ; preds = %CF78, %CF
  br i1 undef, label %CF78, label %CF79

CF79:                                             ; preds = %CF79, %CF78
  br i1 undef, label %CF79, label %CF80

CF80:                                             ; preds = %CF80, %CF79
  %Shuff50 = shufflevector <16 x i64> undef, <16 x i64> %Shuff8, <16 x i32>
<i32 24, i32 26, i32 28, i32 30, i32 0, i32 2, i32 4, i32 6, i32 8, i32 undef,
i32 12, i32 14, i32 16, i32 undef, i32 undef, i32 22>
  br label %CF80
}
motherbrain:llvm meadori$ ./build/Debug+Asserts/bin/llc fail_101538.ll

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