Sumanth Gundapaneni 28b89d61a6 [Hexagon] Remove unsafe load instructions that affect Stack Slot Coloring
The Stack slot coloring pass removes a store that is followed by a load
that deal with the same stack slot. The function isLoadFromStackSlot
is supposed to consider the loads that have no side-effects. This
patch fixed the issue by removing the unsafe loads from this function
Eg:
%vreg0<def> = L2_loadruh_io <fi#15>, 0
S2_storeri_io <fi#15>, 0, %vreg0

In this case, we load an unsigned extended half word and store this in to
the same stack slot. The Stack slot coloring pass considers safe to remove
the store. This patch marked all the non-vector byte and half word loads as
unsafe.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286843 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-14 17:11:00 +00:00
..
2016-05-26 19:44:28 +00:00
2016-04-08 18:15:37 +00:00
2015-10-16 20:38:54 +00:00
2014-11-03 14:56:05 +00:00
2014-02-16 07:31:05 +00:00
2015-12-18 20:19:30 +00:00
2016-04-08 18:15:37 +00:00
2015-10-16 20:38:54 +00:00
2015-10-16 20:38:54 +00:00
2015-10-16 19:43:56 +00:00
2015-10-16 20:38:54 +00:00