diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-06-02 19:54:38 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-06-02 19:54:38 +0000 |
commit | b5e99283f4174b93d0be360456dde92e885d8c0f (patch) | |
tree | dd21b0ed5ac3c807e614560ca2a3883d0802f0df /lib | |
parent | 95856e1457dc5761e1cd2d86f4d4941446479a81 (diff) | |
download | src-b5e99283f4174b93d0be360456dde92e885d8c0f.tar.gz src-b5e99283f4174b93d0be360456dde92e885d8c0f.zip |
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
Notes
Notes:
svn path=/head/; revision=301227
Diffstat (limited to 'lib')
-rw-r--r-- | lib/clang/include/clang/Basic/Version.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index c2314c4d1348..72c5bed4e73d 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -9,4 +9,4 @@ #define SVN_REVISION "262564" -#define FREEBSD_CC_VERSION 1100003U +#define FREEBSD_CC_VERSION 1100004U |