new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-09-12 22:19:46 +00:00
parent 62f254df04
commit 128a0032a2

View File

@ -65,3 +65,10 @@ int %test8(int* %P) {
%X = load int* %P ;; Trivial store->load forwarding
ret int %X
}
int %test9(int* %P) {
%X = load int* %P ;; Trivial load cse
%Y = load int* %P
%Z = sub int %X, %Y
ret int %Z
}