Sanjay Patel 73f8eff19e Add a convenience method to copy wrapping, exact, and fast-math flags (NFC).
The loop vectorizer preserves wrapping, exact, and fast-math properties of scalar instructions.
This patch adds a convenience method to make that operation easier because we need to do this
in the loop vectorizer, SLP vectorizer, and possibly other places.

Although this is a 'no functional change' patch, I've added a testcase to verify that the exact
flag is preserved by the loop vectorizer. The wrapping and fast-math flags are already checked
in existing testcases.

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216886 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-01 18:44:57 +00:00
..
2014-07-18 15:51:28 +00:00
2014-07-18 15:51:28 +00:00
2014-06-27 18:19:56 +00:00
2014-06-25 23:39:08 +00:00
2014-08-25 00:28:27 +00:00
2014-07-18 15:51:28 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2013-11-15 01:34:59 +00:00
2014-08-29 20:35:00 +00:00
2014-08-29 21:53:01 +00:00
2014-08-26 12:47:26 +00:00
2014-08-29 21:53:01 +00:00
2014-07-24 14:25:39 +00:00
2014-08-29 21:53:01 +00:00
2014-04-29 13:21:05 +00:00
2014-08-01 23:28:49 +00:00
2014-04-24 06:44:33 +00:00
2014-08-23 23:07:14 +00:00