Skip to content
Commit 84b581a4 authored by Sanjiv Gupta's avatar Sanjiv Gupta
Browse files

Fold the add (ptr, offset) into ptr[offset] only if the offset is small...

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).

llvm-svn: 73953
parent 0808f709
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment