freebsd-nq/contrib/llvm/lib/Target
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
..
AArch64 Update llvm and clang to release_38 branch r261684. 2016-02-24 22:07:56 +00:00
AMDGPU Update llvm, clang and lldb to release_38 branch r260756. 2016-02-13 15:58:51 +00:00
ARM Update llvm, clang and lldb to release_38 branch r260756. 2016-02-13 15:58:51 +00:00
AVR Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
BPF Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
CppBackend Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
Hexagon Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
Mips Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
MSP430 Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
NVPTX Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
PowerPC Update llvm and clang to release_38 branch r261684. 2016-02-24 22:07:56 +00:00
Sparc Update llvm and clang to release_38 branch r261369. 2016-02-21 16:23:44 +00:00
SystemZ Update llvm, clang and lldb to release_38 branch r260756. 2016-02-13 15:58:51 +00:00
WebAssembly Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
X86 Pull in r271548 from upstream llvm trunk (by me): 2016-06-02 19:54:38 +00:00
XCore Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
Target.cpp Merge llvm trunk r238337 from ^/vendor/llvm/dist, resolve conflicts, and 2015-05-27 20:26:41 +00:00
TargetIntrinsicInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
TargetLoweringObjectFile.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
TargetMachine.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
TargetMachineC.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
TargetRecip.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
TargetSubtargetInfo.cpp Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00