commit | cb2bad780bcdbe5a373237b71b31c92aa2736cf3 | [log] [tgz] |
---|---|---|
author | Jun Bum Lim <junbuml@codeaurora.org> | Fri Dec 18 18:08:30 2015 +0000 |
committer | Jun Bum Lim <junbuml@codeaurora.org> | Fri Dec 18 18:08:30 2015 +0000 |
tree | 7761eb8225b83f9600b322d6f7bbf97386d265ca | |
parent | e8df234a6ea0dbc20e4da677f2f9f8c426f44246 [diff] |
[AArch64] Promote loads from stores This change promotes load instructions which directly read from stores by replacing them with mov instructions. If the store is wider than the load, the load will be replaced with a bitfield extract. For example : STRWui %W1, %X0, 1 %W0 = LDRHHui %X0, 3 becomes STRWui %W1, %X0, 1 %W0 = UBFMWri %W1, 16, 31 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256004 91177308-0d34-0410-b5e6-96231b3b80d8