repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git]
/
test
/
Transforms
/
StripDeadPrototypes
/
basic.ll
blob
6845faf7d03ef30af9f51292005dcbbf304b19f9
1
; RUN: opt -strip-dead-prototypes -S -o - < %s | FileCheck %s
2
; RUN: opt -S -passes=strip-dead-prototypes < %s | FileCheck %s
3
4
; CHECK: declare i32 @f
5
declare i32 @f()
6
; CHECK-NOT: declare i32 @g
7
declare i32 @g()
8
9
define i32 @foo() {
10
%call = call i32 @f()
11
ret i32 %call
12
}