[LLVMbugs] [Bug 10565] scalarrepl assertion failure: Invalid cast!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 11 09:37:39 PDT 2011


Matt Pharr <matt at pharr.org> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #4 from Matt Pharr <matt at pharr.org> 2011-10-11 11:37:38 CDT ---
With top-of-tree, I'm still seeing that assertion hit with the test case from

define void @"f_v___REFUf[]"() nounwind {
  %a156286 = alloca [4 x <4 x float>], align 16
  br i1 undef, label %cif_done, label %for_test158.preheader

for_test158.preheader:                            ; preds = %allocas
  %a156286305 = bitcast [4 x <4 x float>]* %a156286 to i8*
  call void @llvm.memset.p0i8.i64(i8* %a156286305, i8 -1, i64 64, i32 16, i1

cif_done:                                         ; preds = %allocas
  ret void

declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind

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