mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 17:37:24 +00:00
e4dc717585
OnlyReadsMemoryFns tables are dead! We get more, and more accurate, information from gcc via the readnone and readonly function attributes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44288 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
189 B
LLVM
9 lines
189 B
LLVM
; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep call
|
|
|
|
declare i32 @strlen(i8*) readonly
|
|
|
|
define void @test() {
|
|
call i32 @strlen( i8* null ) readonly ; <i32>:1 [#uses=0]
|
|
ret void
|
|
}
|