Jun Bum Lim 3ff9f0996f [AArch64] Promote loads from stored
This is a recommit of r256004 which was reverted in r256160. The issue was the
incorrect promotion for half and byte loads transformed into mov instructions.
This fix will replace half and byte type loads only with bit field extracts.

Original commit message:

This change promotes load instructions which directly read from stored 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@256249 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-22 16:36:16 +00:00
..
2015-02-13 10:48:30 +00:00
2015-08-21 00:23:19 +00:00
2015-07-07 23:13:18 +00:00
2015-12-02 11:53:44 +00:00
2015-08-19 01:44:51 +00:00
2015-08-11 14:35:29 +00:00
2014-08-20 10:40:20 +00:00
2015-12-02 11:53:44 +00:00