mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-28 22:55:52 +00:00
This is StrCpy, NOT StrCat!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41571c8961
commit
e589cc4b76
@ -1,5 +1,5 @@
|
|||||||
; Test that the StrCatOptimizer works correctly
|
; Test that the StrCpyOptimizer works correctly
|
||||||
; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcat'
|
; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcpy'
|
||||||
|
|
||||||
declare sbyte* %strcpy(sbyte*,sbyte*)
|
declare sbyte* %strcpy(sbyte*,sbyte*)
|
||||||
declare int %puts(sbyte*)
|
declare int %puts(sbyte*)
|
||||||
|
Loading…
Reference in New Issue
Block a user