Author: sdardis
Date: Tue Sep 26 08:01:21 2017
New Revision: 314213
URL: http://llvm.org/viewvc/llvm-project?rev=314213&view=rev
Log:
[mips] Accept but ignore -m(no-)branch-likely
-mbranch-likely and -mno-branch-likely are used in some build systems for
some MIPS targets. Accept these options but
Author: sdardis
Date: Tue Feb 20 16:05:05 2018
New Revision: 325651
URL: http://llvm.org/viewvc/llvm-project?rev=325651&view=rev
Log:
[mips] Spectre variant two mitigation for MIPSR2
This patch provides mitigation for CVE-2017-5715, Spectre variant two,
which affects the P5600 and P6600. It provi
Author: sdardis
Date: Wed Jun 7 15:02:24 2017
New Revision: 304936
URL: http://llvm.org/viewvc/llvm-project?rev=304936&view=rev
Log:
Finish revert of "r304929, [mips] Add runtime options to enable/disable
madd/sub.fmt"
The r304935 missed deleting the test case.
Removed:
cfe/trunk/test/Cod
Appears to be fixed, r304936. I'll keep an eye on the buildbots.
Thanks,
Simon
From: cfe-commits [cfe-commits-boun...@lists.llvm.org] on behalf of Evgenii
Stepanov via cfe-commits [cfe-commits@lists.llvm.org]
Sent: 07 June 2017 20:53
To: Petar Jovanovic
Cc
Hi,
Any downstream users should be able to apply this, the corresponding clang
patch (r325651) and the LLD patch (r325657, and r325713) cleanly to the
release sources of LLVM 6.0, should they require it.
Thanks,
Simon
Author: sdardis
Date: Tue Feb 20 16:06:53 2018
New Revision: 325653
URL: http
Apoloiges all, I spoke too soon. Some tests fail due to mir changes, and one
which a slight different version of the memset intrinsic.
Attached is a patch which resolves the failures.
Thanks,
Simon
From: llvm-commits [llvm-commits-boun...@lists.llvm.org]
sdardis added a comment.
@mpf
I'll correct the incorrect uses in a followup patch.
Thanks,
Simon
https://reviews.llvm.org/D24674
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis closed this revision.
sdardis added a comment.
As stated I'll do a follow-up patch to fix the test. Committed as r281975.
Thanks,
Simon
https://reviews.llvm.org/D24674
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llv
sdardis added a comment.
Checking the generated IR for the incorrect uses of v8f16 shows that clang is
silently generating bitcasts from <8 x i16> to <4 x float>. There are some
other cases where the type of the operands is incorrect w.r.t. the builtin used.
I'm not familiar with the type check
sdardis created this revision.
sdardis added reviewers: vkalintiris, zoran.jovanovic.
sdardis added a subscriber: cfe-commits.
Herald added a subscriber: sdardis.
This test was using the wrong types in several places.
https://reviews.llvm.org/D24798
Files:
test/CodeGen/builtins-mips-msa.c
Ind
sdardis abandoned this revision.
sdardis added a comment.
I'm abandoning this revision. This test is riddled with errors such as out of
range immediates and type errors that aren't warned about. I'll post a more
substantial patch to address the handling of those cases + update this test and
I'l
sdardis created this revision.
sdardis added reviewers: vkalintiris, zoran.jovanovic.
sdardis added a subscriber: cfe-commits.
Herald added a subscriber: sdardis.
This patch teaches clang to range check immediates for MIPS MSA instrincs. This
checking is done strictly in comparison to some existin
sdardis updated this revision to Diff 74499.
sdardis added a comment.
Update ld / st to respect their range and multiple of 16 constraint.
https://reviews.llvm.org/D25017
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaChecking.cpp
test/CodeGen/b
Author: sdardis
Date: Thu Aug 3 06:04:29 2017
New Revision: 309935
URL: http://llvm.org/viewvc/llvm-project?rev=309935&view=rev
Log:
[mips] Add support -m(no-)embedded-data option
Add support for the -membedded-data option which places constant data in
the .rodata section, rather than the .sdata
Author: sdardis
Date: Thu Aug 3 07:01:17 2017
New Revision: 309940
URL: http://llvm.org/viewvc/llvm-project?rev=309940&view=rev
Log:
[mips] Implement -muninit-const-in-rodata
This option when combined with -mgpopt and -membedded-data places all
uninitialized constant variables in the read-only s
Author: sdardis
Date: Thu Aug 3 07:35:06 2017
New Revision: 309942
URL: http://llvm.org/viewvc/llvm-project?rev=309942&view=rev
Log:
[mips] Fixup r309940.
Needed a // REQUIRES: mips-registered-target
Modified:
cfe/trunk/test/CodeGen/mips-uninit-const-in-ro.c
Modified: cfe/trunk/test/CodeGe
> From: Joerg Sonnenberger [mailto:jo...@bec.de]
> Sent: 03 August 2017 15:12
> To: cfe-commits@lists.llvm.org
> Cc: Simon Dardis
> Subject: Re: r309940 - [mips] Implement -muninit-const-in-rodata
>
> On Thu, Aug 03, 2017 at 02:01:17PM -0000, Simon Dardis via cfe-commit
Author: sdardis
Date: Thu Aug 3 12:39:51 2017
New Revision: 309978
URL: http://llvm.org/viewvc/llvm-project?rev=309978&view=rev
Log:
[mips] Revert r309942 & r309940
This reverts commit r309942 & commit r309940.
A revert was requested following post commit review.
Removed:
cfe/trunk/test/Co
> -Original Message-
> From: Simon Atanasyan [mailto:si...@atanasyan.com]
> Sent: 04 August 2017 11:29
> To: Simon Dardis
> Cc: Clang Commits
> Subject: Re: r308619 - Reland "[mips] Teach the driver to accept -m(no-
> )gpopt."
>
> On Thu, Jul 20,
Author: sdardis
Date: Fri Aug 11 08:01:34 2017
New Revision: 310714
URL: http://llvm.org/viewvc/llvm-project?rev=310714&view=rev
Log:
[mips] Support implicit gpopt with N64 when using -fno-pic
As clang defaults to -mno-abicalls when using -fno-pic for N64, implicitly use
-mgpopt in that case.
Re
Author: sdardis
Date: Fri Aug 11 08:23:23 2017
New Revision: 310715
URL: http://llvm.org/viewvc/llvm-project?rev=310715&view=rev
Log:
[mips] Add missing mips-registered-target to mips test.
Modified:
cfe/trunk/test/Driver/mips-abi.c
Modified: cfe/trunk/test/Driver/mips-abi.c
URL:
http://llv
Author: sdardis
Date: Tue Apr 3 02:40:07 2018
New Revision: 329053
URL: http://llvm.org/viewvc/llvm-project?rev=329053&view=rev
Log:
[clangd][cmake] Provide libatomic when there is no native support for 64bit
atomics
This addresses a persistent failure on clang-cmake-mips buildbot.
Reviewers:
Author: sdardis
Date: Wed Apr 4 04:05:03 2018
New Revision: 329167
URL: http://llvm.org/viewvc/llvm-project?rev=329167&view=rev
Log:
[libcxx][cmake] Remove libatomic temporarily from CMAKE_REQUIRED_LIBRARIES when
configuring
When libcxx is built in tree for a host which requires libatomic, LLVM
sdardis added a subscriber: sdardis.
sdardis commandeered this revision.
sdardis added a reviewer: dsanders.
sdardis added a comment.
Herald added a reviewer: vkalintiris.
Taking over this patch series.
https://reviews.llvm.org/D21070
___
cfe-commit
sdardis commandeered this revision.
sdardis added a reviewer: dsanders.
sdardis added a comment.
Herald added a reviewer: vkalintiris.
Taking over this patch series.
https://reviews.llvm.org/D21072
___
cfe-commits mailing list
cfe-commits@lists.llvm
sdardis updated this revision to Diff 68993.
sdardis added a comment.
Rebase + ping.
https://reviews.llvm.org/D21072
Files:
include/clang/Driver/ToolChain.h
lib/Driver/MSVCToolChain.cpp
lib/Driver/MinGWToolChain.cpp
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolC
sdardis created this revision.
sdardis added a subscriber: cfe-commits.
Herald added a reviewer: vkalintiris.
Herald added a subscriber: aemerson.
Targets typically support atomics that are word sized (e.g. 32 or 64 bit) or
half word sized (e.g. 32 bit on 64 bit systems). For larger sizes, some
ta
sdardis added a comment.
Ping.
https://reviews.llvm.org/D21070
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: sdardis
Date: Thu Sep 15 09:01:55 2016
New Revision: 281610
URL: http://llvm.org/viewvc/llvm-project?rev=281610&view=rev
Log:
[mips][ias] Enable IAS by default for N64 on Debian mips64el.
Unfortunately we can't enable it for all N64 because it is not yet possible to
distinguish N32 from N
sdardis closed this revision.
sdardis added a comment.
Committed as https://reviews.llvm.org/rL281610.
https://reviews.llvm.org/D22679
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis updated this revision to Diff 71507.
sdardis added a comment.
Update comment and test for atomic expansion.
https://reviews.llvm.org/D24448
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/Sema/atomic-libcal
Author: sdardis
Date: Thu Apr 6 05:38:03 2017
New Revision: 299641
URL: http://llvm.org/viewvc/llvm-project?rev=299641&view=rev
Log:
[Sema] Extend GetSignedVectorType to deal with non ExtVector types
This improves some error messages which would otherwise refer to
ext_vector_type types in contex
Author: sdardis
Date: Thu Apr 6 06:12:14 2017
New Revision: 299643
URL: http://llvm.org/viewvc/llvm-project?rev=299643&view=rev
Log:
[Sema] Retarget test to a specific platform for consistent datasizes
Attempt to satisfy llvm-clang-x86_64-expensive-checks-win by targeting
x86_64-apple-darwin10 f
Author: sdardis
Date: Fri Jan 27 09:05:25 2017
New Revision: 293285
URL: http://llvm.org/viewvc/llvm-project?rev=293285&view=rev
Log:
[mips] Add support for static model on N64
The patch teaches the Clang driver how to handle the N64 static
relocation model properly. It enforces the correct targe
Author: sdardis
Date: Wed Jul 12 14:13:05 2017
New Revision: 307847
URL: http://llvm.org/viewvc/llvm-project?rev=307847&view=rev
Log:
[mips][mt][7/7] Add driver option for the MIPS MT ASE.
Reviewers: atanasyan, slthakur
Differential Revision: https://reviews.llvm.org/D35254
Modified:
cfe/tr
Author: sdardis
Date: Wed Jul 19 03:38:03 2017
New Revision: 308431
URL: http://llvm.org/viewvc/llvm-project?rev=308431&view=rev
Log:
[mips] Teach the driver to accept -m(no-)gpopt.
This patch teaches the driver to pass -mgpopt by default to the backend when it
is supported, i.e. we are using -mn
Author: sdardis
Date: Wed Jul 19 03:39:15 2017
New Revision: 308432
URL: http://llvm.org/viewvc/llvm-project?rev=308432&view=rev
Log:
[mips] Add warning test for -mgpopt option.
Added:
cfe/trunk/test/Driver/mips-gpopt-warning.c
Added: cfe/trunk/test/Driver/mips-gpopt-warning.c
URL:
http://l
Author: sdardis
Date: Wed Jul 19 04:11:02 2017
New Revision: 308436
URL: http://llvm.org/viewvc/llvm-project?rev=308436&view=rev
Log:
Revert "[mips] Teach the driver to accept -m(no-)gpopt."
Revert r308431 and r308432, these caused broke some buildbots.
Removed:
cfe/trunk/test/Driver/mips-gp
Author: sdardis
Date: Wed Jul 19 06:12:37 2017
New Revision: 308458
URL: http://llvm.org/viewvc/llvm-project?rev=308458&view=rev
Log:
Reland "[mips] Teach the driver to accept -m(no-)gpopt."
This patch teaches the driver to pass -mgpopt by default to the backend when it
is supported, i.e. we are
Author: sdardis
Date: Wed Jul 19 06:34:08 2017
New Revision: 308459
URL: http://llvm.org/viewvc/llvm-project?rev=308459&view=rev
Log:
Revert "Reland "[mips] Teach the driver to accept -m(no-)gpopt.""
This reverts r308458. Investigating further buildbot breakage.
Removed:
cfe/trunk/test/Drive
Author: sdardis
Date: Thu Jul 20 07:04:12 2017
New Revision: 308619
URL: http://llvm.org/viewvc/llvm-project?rev=308619&view=rev
Log:
Reland "[mips] Teach the driver to accept -m(no-)gpopt."
This patch teaches the driver to pass -mgpopt by default to the backend when it
is supported, i.e. we are
Author: sdardis
Date: Thu Jul 20 15:23:21 2017
New Revision: 308683
URL: http://llvm.org/viewvc/llvm-project?rev=308683&view=rev
Log:
[mips] Add support for -m(no-)local-sdata
Teach the driver to support -mlocal-sdata. The backend already matches GCC's
default behaviour.
Reviewers: atanasyan, sl
Author: sdardis
Date: Mon Jul 24 07:02:09 2017
New Revision: 308879
URL: http://llvm.org/viewvc/llvm-project?rev=308879&view=rev
Log:
[mips] Add support for -m(no-)extern-data.
Add support for -m(no-)extern-data when using -mgpopt in the driver. It is
enabled by default in the backend.
Reviewers
Author: sdardis
Date: Thu Jan 25 02:09:33 2018
New Revision: 323412
URL: http://llvm.org/viewvc/llvm-project?rev=323412&view=rev
Log:
[Driver] Add support for mips32 and scudo
r317337 missed that scudo is supported on MIPS32, so permit that option for
MIPS32.
Reviewers: cryptoad, atanasyan
Diff
Author: sdardis
Date: Tue Feb 21 10:01:00 2017
New Revision: 295728
URL: http://llvm.org/viewvc/llvm-project?rev=295728&view=rev
Log:
[mips] Define macros related to -mabicalls in the preprocessor
Summary:
Historically, NetBSD, FreeBSD and OpenBSD have defined the macro ABICALLS in
the preprocess
sdardis added inline comments.
Comment at: lib/Sema/SemaExpr.cpp:8064
+ ScalarCast = CK_FloatingCast;
+} else if (ScalarTy->isIntegralType(S.Context)) {
+ // Determine if the integer constant can be expressed as a floating point
bruno wrote:
> I don
sdardis updated this revision to Diff 78531.
sdardis marked 4 inline comments as done.
sdardis added a comment.
Addressed review comments.
https://reviews.llvm.org/D25866
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/vector-cast.c
test/Sema/vector-gcc
Author: sdardis
Date: Fri May 12 14:11:06 2017
New Revision: 302935
URL: http://llvm.org/viewvc/llvm-project?rev=302935&view=rev
Log:
[Sema] Support implicit scalar to vector conversions
This patch teaches clang to perform implicit scalar to vector conversions
when one of the operands of a binary
Author: sdardis
Date: Fri May 12 14:55:32 2017
New Revision: 302941
URL: http://llvm.org/viewvc/llvm-project?rev=302941&view=rev
Log:
[Sema] Silence buildbot failures introduced by r302935
Attempt to silence buildbot failures by pinning the test to a given
triple rather than the host's triple.
s/clang/lib/Sema/SemaExpr.cpp:9495:12
On Fri, May 12, 2017 at 12:24 PM Simon Dardis via cfe-commits
wrote:
Author: sdardis
Date: Fri May 12 14:11:06 2017
New Revision: 302935
URL:
http://llvm.org/viewvc/llvm-project?rev=302935&view=rev
Log:
[Sema] Support implicit scalar to ve
Author: sdardis
Date: Tue May 23 04:42:50 2017
New Revision: 303619
URL: http://llvm.org/viewvc/llvm-project?rev=303619&view=rev
Log:
[mips] Make checks in CodeGen/mips-varargs.c less fragile
This test was failing on our fork of clang because it was not capturing
[[ARG]] in the N32 case. Therefor
Author: sdardis
Date: Wed Oct 19 12:50:52 2016
New Revision: 284620
URL: http://llvm.org/viewvc/llvm-project?rev=284620&view=rev
Log:
[mips][msa] Range check MSA intrinsics with immediates
This patch teaches clang to range check immediates for MIPS MSA instrinsics.
This checking is done strictly
This revision was automatically updated to reflect the committed changes.
Closed by commit rL284620: [mips][msa] Range check MSA intrinsics with
immediates (authored by sdardis).
Changed prior to commit:
https://reviews.llvm.org/D25017?vs=74499&id=75173#toc
Repository:
rL LLVM
https://revie
sdardis added a comment.
Thanks.
Repository:
rL LLVM
https://reviews.llvm.org/D25017
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis created this revision.
sdardis added subscribers: rnk, bruno, ahatanak, cfe-commits.
Herald added a reviewer: vkalintiris.
This patch teaches clang to perform implicit scalar to vector conversions
when one of the operands to a binary vector expression is a scalar like GCC.
The scalar is i
sdardis updated this revision to Diff 75708.
sdardis marked an inline comment as done.
sdardis added a comment.
Extra testing for cases where the operand on the left of an operation is a
vector.
Removed two spurious checks for vector types.
https://reviews.llvm.org/D25866
Files:
lib/Sema/Sem
sdardis updated the summary for this revision.
sdardis updated this revision to Diff 76385.
sdardis added a comment.
Split out a variant of tryVectorConvertAndSplat called
tryGCCVectorConvertAndSplat. This variant checks the types more strictly than
tryVectorConvertAndSplat and handles implicit
sdardis added a comment.
Ping.
https://reviews.llvm.org/D24448
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis updated this revision to Diff 76823.
sdardis added a comment.
Rebase and ping.
https://reviews.llvm.org/D21070
Files:
lib/Basic/Targets.cpp
lib/Driver/ToolChains.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
tools/driver/cc1as_main.cpp
Index: tools/driver/cc1as
sdardis updated this revision to Diff 76824.
sdardis added a comment.
Rebase and ping
https://reviews.llvm.org/D21072
Files:
include/clang/Driver/ToolChain.h
lib/Driver/MSVCToolChain.cpp
lib/Driver/MinGWToolChain.cpp
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains.cpp
lib/Driver/Tool
sdardis added a comment.
Ping.
https://reviews.llvm.org/D25866
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis updated the summary for this revision.
sdardis updated this revision to Diff 38102.
sdardis marked 3 inline comments as done.
sdardis added a comment.
Nits addressed and XFAIL tests added for functions having arguments and the
interrupt attribute.
Test added to cover semantic warnings.
sdardis updated this revision to Diff 38533.
sdardis added a comment.
Updated tests along the lines of what vkalintiris did for llvm.
http://reviews.llvm.org/D10802
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/CodeGen/TargetInfo.cpp
lib/Sema/SemaDeclAttr.cpp
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
LGTM.
https://reviews.llvm.org/D22679
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cf
sdardis added a comment.
Yes, I think you should also reflect mpf's comment here too.
https://reviews.llvm.org/D22679
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis added a comment.
Actually, seeing your reply on the related patch, keep the comment as it
reflects trunk.
https://reviews.llvm.org/D22679
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo
sdardis created this revision.
sdardis added reviewers: dsanders, atanasyan.
sdardis added a subscriber: cfe-commits.
Herald added a reviewer: vkalintiris.
Herald added a subscriber: sdardis.
This patch adds the commandline option
-mcompact-branches={never,optimal,always),
which controls how LLVM
Author: sdardis
Date: Fri May 27 10:13:31 2016
New Revision: 271000
URL: http://llvm.org/viewvc/llvm-project?rev=271000&view=rev
Log:
[mips] Compact branch policy setting.
This patch adds the commandline option
-mcompact-branches={never,optimal,always),
which controls how LLVM generates compact
This revision was automatically updated to reflect the committed changes.
Closed by commit rL271000: [mips] Compact branch policy setting. (authored by
sdardis).
Changed prior to commit:
http://reviews.llvm.org/D20729?vs=58778&id=58789#toc
Repository:
rL LLVM
http://reviews.llvm.org/D20729
sdardis added a comment.
Thanks for the review.
Repository:
rL LLVM
http://reviews.llvm.org/D20729
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis updated this revision to Diff 40382.
sdardis marked 12 inline comments as done.
sdardis added a comment.
Updated documentation text.
Switched the various hard failures to semantic warnings/failures.
Strangely, the 'interrupt' attribute on a non-function defaults to a warning.
Thanks.
sdardis updated this revision to Diff 40782.
sdardis marked 4 inline comments as done.
sdardis added a comment.
Updated comments, used cast as suggested, added mutual exclusion check for
mips16+interrupt combination.
Extended mips16/nomips16 attribute handlers for mutual exclusion, add to
pre-e
sdardis updated this revision to Diff 41041.
sdardis added a comment.
Updated text of return type/parameters warning to Aaron's suggestion.
Dropped '\' escape characters from warning/error text.
Removed mips16/nomips16 check.
Tweak of comment in handleMipsInterruptAttr.
http://reviews.llvm.org
sdardis updated this revision to Diff 41283.
sdardis added a comment.
Nit addressed.
Daniel or Aaron, can one of you commit on my behalf? Thanks.
Aaron, thanks for the review.
http://reviews.llvm.org/D10802
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang
74 matches
Mail list logo