JF Bastien 986ed68eed x86: preserve flags when folding atomic operations
Summary:
D4796 taught LLVM to fold some atomic integer operations into a single
instruction. The pattern was unaware that the instructions clobbered
flags.

This patch adds the missing EFLAGS definition.

Floating point operations don't set flags, the subsequent fadd
optimization is therefore correct. The same applies for surrounding
load/store optimizations.

Reviewers: rsmith, rtrieu

Subscribers: llvm-commits, reames, morisset

Differential Revision: http://reviews.llvm.org/D13680

llvm-svn: 250135
2015-10-13 00:28:47 +00:00
..
2014-10-16 20:00:02 +00:00
2014-12-15 22:34:58 +00:00
2014-01-16 06:31:20 +00:00
2015-06-05 10:29:55 +00:00
2015-04-06 22:29:07 +00:00
2015-04-06 22:29:07 +00:00
2014-10-21 23:01:01 +00:00
2014-10-21 23:01:01 +00:00
2015-03-06 20:51:25 +00:00
2015-03-06 21:50:27 +00:00
2015-09-29 22:09:16 +00:00
2015-01-08 07:57:27 +00:00
2014-05-06 01:20:42 +00:00
2014-02-25 20:01:08 +00:00
2015-08-25 07:42:09 +00:00
2013-11-22 17:56:57 +00:00
2013-11-26 20:31:31 +00:00
2015-06-02 22:33:30 +00:00
2015-05-28 22:12:27 +00:00
2014-12-03 02:08:38 +00:00
2014-12-03 02:08:38 +00:00
2015-02-05 23:52:12 +00:00
2015-01-26 21:28:32 +00:00
2015-06-30 08:49:35 +00:00
2015-08-28 17:19:54 +00:00
2015-01-26 21:28:32 +00:00
2015-02-11 15:00:19 +00:00
2015-03-06 21:30:18 +00:00
2014-01-11 21:06:00 +00:00
2015-03-06 20:38:55 +00:00
2015-03-06 20:46:16 +00:00
2015-02-11 14:58:25 +00:00
2015-08-19 16:17:08 +00:00