diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-22 16:39:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-22 16:39:14 +0000 |
commit | 5a3e29c66122fe039f10cafb0607e0aa6c1bb2f4 (patch) | |
tree | 38659bf1d68469760da6916f65e966c66bfd7d47 /test/Transforms/GCSE | |
parent | 472e8086cc4a8b2f0099143e09a924a86e1097af (diff) |
Convert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GCSE')
-rw-r--r-- | test/Transforms/GCSE/2002-05-14-OperandSwap.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Transforms/GCSE/2002-05-14-OperandSwap.ll b/test/Transforms/GCSE/2002-05-14-OperandSwap.ll index a75e298f7f..22296e344e 100644 --- a/test/Transforms/GCSE/2002-05-14-OperandSwap.ll +++ b/test/Transforms/GCSE/2002-05-14-OperandSwap.ll @@ -9,8 +9,10 @@ implementation ; Functions: uint "vnum_test4"(uint* %data) { - %reg1101 = load uint* %data, uint 1 - %reg1111 = load uint* %data, uint 3 + %idx1 = getelementptr uint* %data, uint 1 + %idx2 = getelementptr uint* %data, uint 3 + %reg1101 = load uint* %idx1 + %reg1111 = load uint* %idx2 %reg109 = mul uint %reg1101, %reg1111 %reg108 = mul uint %reg1111, %reg1101 %reg121 = sub uint %reg108, %reg109 |