Dimitry Andric b5e99283f4 Pull in r271548 from upstream llvm trunk (by me):
Only attempt to detect AVG if SSE2 is available

  Summary:
  In PR29973 Sanjay Patel reported an assertion failure when a certain
  loop was optimized, for a target without SSE2 support.  It turned out
  this was because of the AVG pattern detection introduced in rL253952.

  Prevent the assertion failure by bailing out early in
  `detectAVGPattern()`, if the target does not support SSE2.

  Also add a minimized test case.

  Reviewers: congh, eli.friedman, spatel

  Subscribers: emaste, llvm-commits

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

This should fix assertion failures ("Requires at least SSE2!") when
building the games/0ad port with CPUTYPE=pentium3.

Reported by:	madpilot
2016-06-02 19:54:38 +00:00
..
2015-08-09 05:14:25 +00:00
2016-05-20 17:35:39 +00:00
2016-03-25 22:32:26 +00:00
2015-10-11 17:45:20 +00:00
2016-05-14 08:52:37 +00:00
2016-05-27 03:40:52 +00:00
2016-04-20 17:58:13 +00:00
2016-05-19 03:18:54 +00:00
2016-01-05 05:25:16 +00:00
2016-04-17 21:30:40 +00:00
2016-05-29 01:43:28 +00:00
2015-09-27 07:04:16 +00:00
2016-04-27 07:46:38 +00:00
2016-03-03 15:36:00 +00:00
2016-04-17 21:23:14 +00:00
2015-10-08 11:42:15 +00:00
2015-11-12 03:25:04 +00:00
2015-11-21 09:09:25 +00:00