mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31486 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0921365b88
commit
1b896caa6b
12
test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
Normal file
12
test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
; RUN: llvm-as < %s | llc -march=x86 &&
|
||||||
|
; RUN: llvm-as < %s | llc -march=x86 | not grep adc
|
||||||
|
|
||||||
|
; PR988
|
||||||
|
|
||||||
|
declare void %llvm.memcpy.i64(sbyte*, sbyte*, ulong, uint)
|
||||||
|
|
||||||
|
void %foo(ulong %a) {
|
||||||
|
%b = add ulong %a, 1
|
||||||
|
call void %llvm.memcpy.i64( sbyte* null, sbyte* null, ulong %b, uint 1 )
|
||||||
|
ret void
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user