| commit | ae99227ef9c68b6cedcb2ae5971fd2072b598d49 | [log] [tgz] |
|---|---|---|
| author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | Tue Jun 23 07:10:19 2009 +0000 |
| committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | Tue Jun 23 07:10:19 2009 +0000 |
| tree | 0f15093b1efe6c993610a0590f7fce8a2f019a3e | |
| parent | 8dfbe6c853e3e48b6e7b5957a4e028835ffe4400 [diff] |
Fold the add (ptr, offset) into ptr[offset] only if the offset is small enough. movwi and moviw allow value of 5-bits only (i.e. 32). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73953 91177308-0d34-0410-b5e6-96231b3b80d8