Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
c0f376dba2b51aacf06cfefbc1c46120bb8b725d
/
.
/
test
/
Analysis
/
DSGraph
/
2004-03-10-NoElimLoad.ll
blob: 3a8e540ef16fd863486290475cfb9b33a9d86df4 [
file
] [
log
] [
blame
]
; RUN: llvm-as < %s | opt -ds-aa -load-vn -gcse -instcombine | llvm-dis | grep sub
void
%bar
(
int
*
%p
)
{
store
int
15
,
int
*
%p
ret
void
}
int
%foo
(
int
*
%a
)
{
%b
=
load
int
*
%a
call
void
%bar
(
int
*
%a
)
%d
=
load
int
*
%a
%e
=
sub
int
%b
,
%d
ret
int
%e
}