mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
Convert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac2cbb847d
commit
472e8086cc
@ -27,8 +27,8 @@ bb0: ;[#uses=0]
|
||||
br label %bb1
|
||||
|
||||
bb1: ;[#uses=2]
|
||||
%reg107 = load ubyte** %len, uint 0 ; <ubyte*> [#uses=1]
|
||||
%reg108 = load int** %freq, uint 0 ; <int*> [#uses=1]
|
||||
%reg107 = load ubyte** %len ; <ubyte*> [#uses=1]
|
||||
%reg108 = load int** %freq ; <int*> [#uses=1]
|
||||
%reg109 = load int* %alphaSize ; <int> [#uses=10]
|
||||
%reg110 = load int* %maxLen ; <int> [#uses=1]
|
||||
%cond747 = setge int 0, %reg109 ; <bool> [#uses=1]
|
||||
@ -41,7 +41,7 @@ bb2: ;[#uses=2]
|
||||
%reg126 = getelementptr int* %weight, uint %reg591-idxcast1-offset ; <int*> [#uses=1]
|
||||
%reg591-idxcast = cast int %reg591 to uint ; <uint> [#uses=1]
|
||||
%reg132 = getelementptr int* %reg108, uint %reg591-idxcast ; <int*> [#uses=1]
|
||||
%reg133 = load int* %reg132, uint 0 ; <int> [#uses=2]
|
||||
%reg133 = load int* %reg132 ; <int> [#uses=2]
|
||||
%cond748 = seteq int %reg133, 0 ; <bool> [#uses=1]
|
||||
br bool %cond748, label %bb4, label %bb3
|
||||
|
||||
@ -138,7 +138,7 @@ bb14: ;[#uses=5]
|
||||
%reg113 = load int* %reg7551 ; <int> [#uses=2]
|
||||
%reg603-idxcast = cast int %reg603 to uint ; <uint> [#uses=1]
|
||||
%reg222 = getelementptr int* %heap, uint %reg603-idxcast ; <int*> [#uses=1]
|
||||
%reg223 = load int* %reg222, uint 0 ; <int> [#uses=1]
|
||||
%reg223 = load int* %reg222 ; <int> [#uses=1]
|
||||
%reg7561 = getelementptr int* %heap, uint 1 ; <int*> [#uses=1]
|
||||
store int %reg223, int* %reg7561
|
||||
%reg605 = add int %reg603, -1 ; <int> [#uses=4]
|
||||
@ -206,7 +206,7 @@ bb20: ;[#uses=6]
|
||||
%reg603-idxcast1 = cast int %reg603 to uint ; <uint> [#uses=1]
|
||||
%reg603-idxcast1-offset = add uint %reg603-idxcast1, 1073741823 ; <uint> [#uses=1]
|
||||
%reg319 = getelementptr int* %heap, uint %reg603-idxcast1-offset ; <int*> [#uses=1]
|
||||
%reg320 = load int* %reg319, uint 0 ; <int> [#uses=1]
|
||||
%reg320 = load int* %reg319 ; <int> [#uses=1]
|
||||
%reg7641 = getelementptr int* %heap, uint 1 ; <int*> [#uses=1]
|
||||
store int %reg320, int* %reg7641
|
||||
%reg613 = add int %reg605, -1 ; <int> [#uses=4]
|
||||
|
Loading…
Reference in New Issue
Block a user