freebsd-nq/contrib/llvm/lib
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
..
Analysis Update llvm, clang and lldb to release_38 branch r260756. 2016-02-13 15:58:51 +00:00
AsmParser Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
Bitcode Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
CodeGen Update llvm and clang to release_38 branch r261684. 2016-02-24 22:07:56 +00:00
DebugInfo Convert two llvm source files to native line ending, which was also done 2016-03-05 21:10:34 +00:00
ExecutionEngine Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
IR Update llvm, clang and lldb to release_38 branch r260756. 2016-02-13 15:58:51 +00:00
IRReader Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
LibDriver Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
LineEditor Cleanup upstream build infrastructure files that we don't use. 2014-11-24 20:57:20 +00:00
Linker Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
LTO Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
MC Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
Object Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
Option Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
Passes Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
ProfileData Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
Support Update llvm and clang to release_38 branch r261369. 2016-02-21 16:23:44 +00:00
TableGen Update llvm to trunk r256945. 2016-01-06 20:19:13 +00:00
Target Pull in r271548 from upstream llvm trunk (by me): 2016-06-02 19:54:38 +00:00
Transforms Pull in r269908 from upstream llvm trunk (by James Molloy): 2016-05-29 20:54:16 +00:00