mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
62f254df04
commit
128a0032a2
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user