http://llvm.org/bugs/show_bug.cgi?id=6807
Duncan Sands <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #9 from Duncan Sands <[email protected]> 2010-04-13 11:27:31 CDT --- The original testcase is still failing. I will attach unreduced IR in a moment. In the meantime, here is a new reduced testcase that crashes llc in the same way: ; ModuleID = 'bugpoint-reduced-simplified.bc' target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-unknown-linux-gnu" module asm "\09.ident\09\22GCC: (GNU) 4.6.0 20100413 (experimental) LLVM: 101132M\22" define i32 @stpncpy(i8* %__dest, i8* %__src, i64 %__n) nounwind { entry: %0 = tail call i64 @llvm.objectsize.i64(i8* %__dest, i1 false) ; <i64> [#uses=1] br i1 undef, label %return, label %"5" "5": ; preds = %entry %1 = tail call i32 (...)* @__stpncpy_chk(i8* %__dest, i8* %__src, i64 %__n, i64 %0) nounwind ; <i32> [#uses=1] ret i32 %1 return: ; preds = %entry ret i32 undef } declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readonly declare i32 @__stpncpy_chk(...) -- 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. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
