Jakob Stoklund Olesen 2ec0cda5d5 Avoid folding loads that are unsafe to move.
LiveRangeEdit::foldAsLoad() can eliminate a register by folding a load
into its only use. Only do that when the load is safe to move, and it
won't extend any live ranges.

This fixes PR13414.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160575 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-20 21:29:31 +00:00
..
2012-07-16 19:35:43 +00:00
2011-10-30 13:24:22 +00:00
2011-11-23 04:03:08 +00:00
2012-05-19 23:34:59 +00:00
2012-01-27 02:31:29 +00:00
2012-02-02 19:00:49 +00:00
2012-03-20 17:20:46 +00:00
2012-02-02 19:00:49 +00:00
2012-01-05 00:43:34 +00:00
2012-06-19 02:17:35 +00:00
2012-05-24 22:08:29 +00:00
2011-11-15 07:13:03 +00:00
2011-11-08 00:09:27 +00:00
2011-12-08 19:21:39 +00:00
2012-05-07 18:06:23 +00:00
2012-04-20 23:36:09 +00:00
2012-07-17 19:40:05 +00:00
2012-01-19 01:13:47 +00:00
2012-06-01 05:00:54 +00:00
2012-03-30 00:26:54 +00:00
2011-11-07 23:10:43 +00:00
2011-11-08 00:03:24 +00:00
2011-11-07 19:15:58 +00:00