Skip to content

Commit

Permalink
[FastISel][AArch64] Add support for more addressing modes.
Browse files Browse the repository at this point in the history
FastISel didn't take much advantage of the different addressing modes available
to it on AArch64. This commit allows the ComputeAddress method to recognize more
addressing modes that allows shifts and sign-/zero-extensions to be folded into
the memory operation itself.

For Example:
  lsl x1, x1, #3     --> ldr x0, [x0, x1, lsl #3]
  ldr x0, [x0, x1]

  sxtw x1, w1
  lsl x1, x1, #3     --> ldr x0, [x0, x1, sxtw #3]
  ldr x0, [x0, x1]
  • Loading branch information
ributzka committed Aug 13, 2014
1 parent 6c0edff commit e06ff50
Show file tree
Hide file tree
Showing 2 changed files with 714 additions and 168 deletions.
Loading

0 comments on commit e06ff50

Please sign in to comment.