new testcase that crashes llc on x86/ppc. Not generated by C/C++ or LLVM

though.

llvm-svn: 22416
This commit is contained in:
Chris Lattner 2005-07-13 01:42:03 +00:00
parent 4f61c64639
commit 27e4e8e1b8
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
; RUN: llvm-as < %s | llc
; Test that llvm.memcpy works with a i64 length operand on all targets.
declare void %llvm.memcpy(sbyte*, sbyte*, ulong, uint)
void %l12_l94_bc_divide_endif_2E_3_2E_ce() {
newFuncRoot:
tail call void %llvm.memcpy( sbyte* null, sbyte* null, ulong 0, uint 1 )
unreachable
}