commit | a41fc77ae40db49d711fc6f9c43b704a3b408e60 | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Wed Sep 29 02:35:05 2004 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Wed Sep 29 02:35:05 2004 +0000 |
tree | 7eafbccc5f9aa0c7a6732af2f7254342e24d37d8 | |
parent | 6a0ec6fcf6e45c9212535c481566e2454a7cc377 [diff] |
To go along with sabre's improved InstCombining, improve recognition of integers that we can use as immediate values in instructions. Example from yacr2: - lis r10, -1 - ori r10, r10, 65535 - add r28, r28, r10 + addi r28, r28, -1 addi r7, r7, 1 addi r9, r9, 1 b .LBB_main_9 ; loopentry.1.i214 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16566 91177308-0d34-0410-b5e6-96231b3b80d8