Re: [PATCH] D12234: [mips][p5600] Add -mcpu=p5600 option.

2015-08-21 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D12234 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

r250043 - [Driver] Remove `else` after `return`

2015-10-12 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Mon Oct 12 09:32:57 2015 New Revision: 250043 URL: http://llvm.org/viewvc/llvm-project?rev=250043=rev Log: [Driver] Remove `else` after `return` Modified: cfe/trunk/lib/Driver/Multilib.cpp Modified: cfe/trunk/lib/Driver/Multilib.cpp URL:

Re: r247548 - [mips] Add test case to check ABI flag emissions in case of inline assembler

2015-09-14 Thread Simon Atanasyan via cfe-commits
g. So this test cannot be in llvm/test because there is no inline >> assembler there, and I cannot escape to use llvm-readobj because >> "-emit-llvm" produces correct code. >> >> > FYI, update CLANG_TEST_DEPS in clang/test/CMakeLists.txt, if it would >> > r

Re: r247548 - [mips] Add test case to check ABI flag emissions in case of inline assembler

2015-09-14 Thread Simon Atanasyan via cfe-commits
5 at 8:24 PM Simon Atanasyan via cfe-commits > <cfe-commits@lists.llvm.org> wrote: >> >> Author: atanasyan >> Date: Mon Sep 14 06:23:02 2015 >> New Revision: 247548 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=247548=rev >> Log: >

Re: [PATCH] D13340: Add support for the new mips-mti-linux toolchain.

2015-10-01 Thread Simon Atanasyan via cfe-commits
atanasyan added inline comments. Comment at: include/clang/Driver/ToolChain.h:92 @@ -91,2 +91,3 @@ MultilibSet Multilibs; + Multilib SelectedMultilib; This field is used by the `MipsToolChain` class only. If so, move it to that class.

Re: [PATCH] D13340: Add support for the new mips-mti-linux toolchain.

2015-10-02 Thread Simon Atanasyan via cfe-commits
atanasyan added inline comments. Comment at: lib/Driver/Driver.cpp:2225 @@ -2219,1 +2224,3 @@ TC = new toolchains::HexagonToolChain(*this, Target, Args); + else if ((Target.getVendor() == llvm::Triple::MipsTechnologies) && + !Target.hasEnvironment())

Re: [PATCH] D13340: Add support for the new mips-mti-linux toolchain.

2015-10-02 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D13340 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D13340: Add support for the new mips-mti-linux toolchain.

2015-10-02 Thread Simon Atanasyan via cfe-commits
atanasyan added inline comments. Comment at: lib/Driver/Driver.cpp:2225 @@ -2219,1 +2224,3 @@ TC = new toolchains::HexagonToolChain(*this, Target, Args); + else if ((Target.getVendor() == llvm::Triple::MipsTechnologies) && + !Target.hasEnvironment())

Re: [PATCH] D13057: [mips] Relax -mnan=2008 acceptance to permit MIPS32R2 and MIPS64R2.

2015-09-22 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D13057 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D20961: [mips] Replace almost all Arch checks in MipsTargetInfo with ABI checks. NFC.

2016-06-03 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D20961 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D20963: [mips] The P5600 does not support N32/N64 since it's a 32-bit CPU.

2016-06-03 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D20963 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D21016: [mips] The default ABI depends on the CPU not the Arch on MTI and IMG vendor triples.

2016-06-06 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D21016 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D21023: [mips] Defer validity check for CPU/ABI pairs and improve error message for invalid cases.

2016-06-07 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D21023 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D20679: [mips] Kill 'support' for untested EABI.

2016-05-26 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a reviewer: atanasyan. atanasyan added a comment. This revision is now accepted and ready to land. LGTM Tools.cpp contains the following code. We need to remove `eabi` here too. if (CPUName.empty()) { // Deduce CPU name from ABI name.

Re: [PATCH] D20680: [mips] Slightly simplify MipsTargetInfo::setDataLayout(). NFC.

2016-05-26 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a reviewer: atanasyan. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D20680 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D20678: [mips] Fold MipsTargetInfoBase subclasses into MipsTargetInfoBase and rename to MipsTargetInfo. NFC

2016-05-26 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a reviewer: atanasyan. atanasyan added a comment. This revision is now accepted and ready to land. LGTM Comment at: lib/Basic/Targets.cpp:6986 @@ +6985,3 @@ + : TargetInfo(Triple), CPU((getTriple().getArch() ==

r271110 - [driver][mips] Fix local variable naming. NFC

2016-05-28 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Sat May 28 04:44:15 2016 New Revision: 271110 URL: http://llvm.org/viewvc/llvm-project?rev=271110=rev Log: [driver][mips] Fix local variable naming. NFC Modified: cfe/trunk/lib/Driver/ToolChains.cpp Modified: cfe/trunk/lib/Driver/ToolChains.cpp URL:

Re: [PATCH] D20679: [mips] Kill 'support' for untested EABI.

2016-05-27 Thread Simon Atanasyan via cfe-commits
atanasyan added a comment. In http://reviews.llvm.org/D20679#442121, @dsanders wrote: > Just to double-check: Do you still agree we should kill this now that the > number of tests covering EABI-specific behaviour is non-zero? > > I think we should on the basis that we still have no backend

Re: [PATCH] D20729: [mips] Compact branch policy setting

2016-05-27 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM with some nits Comment at: lib/Driver/Tools.cpp:1446 @@ +1445,3 @@ +CmdArgs.push_back(Args.MakeArgString("-mips-compact-branches=" + Val)); + + } else

Re: r270373 - [driver][mips] Support new versions of MIPS CodeScape toolchains

2016-05-26 Thread Simon Atanasyan via cfe-commits
I'm trying to reproduce the problem but without success yet. And all buildbots available to me are green. So no ideas right now. By the way, as far as I can see you use some sort of build system probably to get rpm package. Right? Could you try to build Clang by hand

Re: r270373 - [driver][mips] Support new versions of MIPS CodeScape toolchains

2016-05-26 Thread Simon Atanasyan via cfe-commits
Sounds reasonable. I will check this idea and fix the tests accordingly. On May 26, 2016 11:03 AM, "Ismail Donmez" wrote: > Hi, > > I think this is because I enable libc++ by default with > -DLLVM_ENABLE_LIBCXX=ON , so this tests need an explicit > -stdlib=libstdc++ > > ismail >

Re: r270373 - [driver][mips] Support new versions of MIPS CodeScape toolchains

2016-05-26 Thread Simon Atanasyan via cfe-commits
I hope r270842 fixes the problem. Thanks a lot for your help. On Thu, May 26, 2016 at 11:28 AM, Ismail Donmez wrote: > Indeed the problematic option is -DCLANG_DEFAULT_CXX_STDLIB=libc++ , > thanks Jonas! > > On Thu, May 26, 2016 at 11:19 AM, Hahnfeld, Jonas >

r270842 - [driver][mips] Specify stdlib used in the tests explicitly

2016-05-26 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Thu May 26 06:32:19 2016 New Revision: 270842 URL: http://llvm.org/viewvc/llvm-project?rev=270842=rev Log: [driver][mips] Specify stdlib used in the tests explicitly That allows to pass the tests even if default stdlib is not libstdc++. Modified:

Re: [PATCH] D20678: [mips] Fold MipsTargetInfoBase subclasses into MipsTargetInfoBase and rename to MipsTargetInfo. NFC

2016-05-26 Thread Simon Atanasyan via cfe-commits
atanasyan added inline comments. Comment at: lib/Basic/Targets.cpp:6986 @@ +6985,3 @@ + : TargetInfo(Triple), CPU((getTriple().getArch() == llvm::Triple::mips || + getTriple().getArch() == llvm::Triple::mipsel) +

r273465 - [driver][mips] Factor out findMIPSMultilibs code into separate functions. NFC

2016-06-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Jun 22 15:00:50 2016 New Revision: 273465 URL: http://llvm.org/viewvc/llvm-project?rev=273465=rev Log: [driver][mips] Factor out findMIPSMultilibs code into separate functions. NFC The findMIPSMultilibs is too long. One more reason for splitting is to escape redundant

r273468 - [driver] Remove empty folders from the Inputs folder for the driver's tests. NFC

2016-06-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Jun 22 15:20:51 2016 New Revision: 273468 URL: http://llvm.org/viewvc/llvm-project?rev=273468=rev Log: [driver] Remove empty folders from the Inputs folder for the driver's tests. NFC Removed: cfe/trunk/test/Driver/Inputs/android_triple_version/

r273471 - [driver] Remove one more bunch of empty 'test inputs' folders. NFC

2016-06-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Jun 22 15:30:26 2016 New Revision: 273471 URL: http://llvm.org/viewvc/llvm-project?rev=273471=rev Log: [driver] Remove one more bunch of empty 'test inputs' folders. NFC Removed: cfe/trunk/test/Driver/Inputs/basic_nacl_tree/

r270069 - [driver] Do not pass install dir to the MultilibSet include dirs callback

2016-05-19 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Thu May 19 10:07:21 2016 New Revision: 270069 URL: http://llvm.org/viewvc/llvm-project?rev=270069=rev Log: [driver] Do not pass install dir to the MultilibSet include dirs callback All additional include directories are relative to the toolchain install folder. So let's

r270068 - [driver] Do not pass target triple to the MultilibSet include dirs callback

2016-05-19 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Thu May 19 10:07:00 2016 New Revision: 270068 URL: http://llvm.org/viewvc/llvm-project?rev=270068=rev Log: [driver] Do not pass target triple to the MultilibSet include dirs callback No one callback uses target triple so we can escape passing the unused argument.

r270067 - [driver][mips] Hardcode triple name in case of CodeSourcery toolchain. NFC

2016-05-19 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Thu May 19 10:05:22 2016 New Revision: 270067 URL: http://llvm.org/viewvc/llvm-project?rev=270067=rev Log: [driver][mips] Hardcode triple name in case of CodeSourcery toolchain. NFC CodeSourcery toolchain is a standalone toolchain which always uses the same triple name in

r270380 - [driver][mips] Follow-up to r270373. Add missed folder.

2016-05-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Sun May 22 17:06:19 2016 New Revision: 270380 URL: http://llvm.org/viewvc/llvm-project?rev=270380=rev Log: [driver][mips] Follow-up to r270373. Add missed folder. Added: cfe/trunk/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mipsel-r6-soft/

Re: r270373 - [driver][mips] Support new versions of MIPS CodeScape toolchains

2016-05-22 Thread Simon Atanasyan via cfe-commits
, 2016 11:23 PM, "Renato Golin" <renato.go...@linaro.org> wrote: >> >> On 22 May 2016 at 19:18, Simon Atanasyan via cfe-commits >> <cfe-commits@lists.llvm.org> wrote: >> > Author: atanasyan >> > Date: Sun May 22 13:18:07 2016 >> > New

Re: r270373 - [driver][mips] Support new versions of MIPS CodeScape toolchains

2016-05-22 Thread Simon Atanasyan via cfe-commits
Hi Renato, Strange error. Unfortunately I am far from my computer right now. I was sure in my changes. Could you please revert the commit? On May 22, 2016 11:23 PM, "Renato Golin" <renato.go...@linaro.org> wrote: > On 22 May 2016 at 19:18, Simon Atanasyan via cfe-com

r270374 - [driver][mips] clang-format the code. NFC

2016-05-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Sun May 22 13:18:41 2016 New Revision: 270374 URL: http://llvm.org/viewvc/llvm-project?rev=270374=rev Log: [driver][mips] clang-format the code. NFC Modified: cfe/trunk/lib/Driver/ToolChains.cpp Modified: cfe/trunk/lib/Driver/ToolChains.cpp URL:

r270368 - [driver][mips] Use target triple mips-mti-linux-gnu for toolchain detection

2016-05-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Sun May 22 10:28:34 2016 New Revision: 270368 URL: http://llvm.org/viewvc/llvm-project?rev=270368=rev Log: [driver][mips] Use target triple mips-mti-linux-gnu for toolchain detection Modified: cfe/trunk/lib/Driver/ToolChains.cpp cfe/trunk/test/Driver/mips-fsf.cpp

r270367 - [driver][mips] Rename some variables to better reflect their purpose. NFC

2016-05-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Sun May 22 10:27:58 2016 New Revision: 270367 URL: http://llvm.org/viewvc/llvm-project?rev=270367=rev Log: [driver][mips] Rename some variables to better reflect their purpose. NFC Modified: cfe/trunk/lib/Driver/ToolChains.cpp Modified:

Re: r270373 - [driver][mips] Support new versions of MIPS CodeScape toolchains

2016-05-24 Thread Simon Atanasyan via cfe-commits
Hi, On Tue, May 24, 2016 at 12:37 PM, Ismail Donmez <ism...@i10z.com> wrote: > > On Sun, May 22, 2016 at 9:18 PM, Simon Atanasyan via cfe-commits > <cfe-commits@lists.llvm.org> wrote: >> Author: atanasyan >> Date: Sun May 22 13:18:07 2016 >> New Revision: 2

Re: [PATCH] D20313: [Mips] Set mips32 as default CPU for MIPS32 Android

2016-05-17 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D20313 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D20345: [Mips] Finetuning MIPS32 Android default variants

2016-05-17 Thread Simon Atanasyan via cfe-commits
atanasyan accepted this revision. atanasyan added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D20345 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: r270373 - [driver][mips] Support new versions of MIPS CodeScape toolchains

2016-05-25 Thread Simon Atanasyan via cfe-commits
Hi, Thanks for the information. One more question. Does the following folder exist? /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Driver/Inputs/mips_img_v2_tree/lib/gcc/mips-img-linux-gnu/4.9.2/../../../../mips-img-linux-gnu/include/c++/4.9.2 On Wed, May 25, 2016 at 9:55 AM, Ismail Donmez

r275951 - [driver][mips] Remove empty folder from test inputs

2016-07-19 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Tue Jul 19 02:23:15 2016 New Revision: 275951 URL: http://llvm.org/viewvc/llvm-project?rev=275951=rev Log: [driver][mips] Remove empty folder from test inputs Removed: cfe/trunk/test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/mips-r6/

r275949 - [driver][mips] Support MIPS targets in modern Android NDK

2016-07-19 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Tue Jul 19 02:09:48 2016 New Revision: 275949 URL: http://llvm.org/viewvc/llvm-project?rev=275949=rev Log: [driver][mips] Support MIPS targets in modern Android NDK Initial patch provided by Duane Sand. Added:

Re: r308619 - Reland "[mips] Teach the driver to accept -m(no-)gpopt."

2017-08-04 Thread Simon Atanasyan via cfe-commits
On Thu, Jul 20, 2017 at 5:04 PM, Simon Dardis via cfe-commits wrote: > 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 using -mno-abicalls.

r310038 - [mips] Fix typo (missed space) in the warning message

2017-08-04 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Fri Aug 4 01:25:15 2017 New Revision: 310038 URL: http://llvm.org/viewvc/llvm-project?rev=310038=rev Log: [mips] Fix typo (missed space) in the warning message Modified: cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td

r310037 - [mips] Code formatting fix. NFC

2017-08-04 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Fri Aug 4 01:25:09 2017 New Revision: 310037 URL: http://llvm.org/viewvc/llvm-project?rev=310037=rev Log: [mips] Code formatting fix. NFC Modified: cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp Modified: cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp URL:

r310613 - [mips] Notify user that `-mabicalls` is ignored on non-PIC N64 ABI

2017-08-10 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Thu Aug 10 08:42:16 2017 New Revision: 310613 URL: http://llvm.org/viewvc/llvm-project?rev=310613=rev Log: [mips] Notify user that `-mabicalls` is ignored on non-PIC N64 ABI The -mabicalls option does not make sense in the case of non position independent code for the N64

r310614 - [mips] Show warning in case of mixing -mlong-calls and -mabicalls options

2017-08-10 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Thu Aug 10 08:42:25 2017 New Revision: 310614 URL: http://llvm.org/viewvc/llvm-project?rev=310614=rev Log: [mips] Show warning in case of mixing -mlong-calls and -mabicalls options While we do not support `-mshared / -mno-shared` properly, show warning and ignore

r310615 - [mips] Group all `-mabicalls` related checks in the single place. NFC

2017-08-10 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Thu Aug 10 08:42:31 2017 New Revision: 310615 URL: http://llvm.org/viewvc/llvm-project?rev=310615=rev Log: [mips] Group all `-mabicalls` related checks in the single place. NFC Removed: cfe/trunk/test/Driver/mips-longcalls-warning.c Modified:

r307627 - [mips] Create the correct profiling symbol on Linux MIPS

2017-07-11 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Mon Jul 10 23:19:01 2017 New Revision: 307627 URL: http://llvm.org/viewvc/llvm-project?rev=307627=rev Log: [mips] Create the correct profiling symbol on Linux MIPS Modified: cfe/trunk/lib/Basic/Targets.cpp cfe/trunk/test/CodeGen/mcount.c Modified:

r307386 - [driver][mips] Pass long-calls feature flag to the MIPS backend

2017-07-07 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Fri Jul 7 03:35:33 2017 New Revision: 307386 URL: http://llvm.org/viewvc/llvm-project?rev=307386=rev Log: [driver][mips] Pass long-calls feature flag to the MIPS backend Check the `-mlong-calls` command line option and pass the `long-calls` feature flag to the backend.

r308719 - [mips] Add `short_call` to the set of `long_call/far/near` attributes

2017-07-21 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Fri Jul 21 01:10:57 2017 New Revision: 308719 URL: http://llvm.org/viewvc/llvm-project?rev=308719=rev Log: [mips] Add `short_call` to the set of `long_call/far/near` attributes MIPS gcc supports `long_call/far/near` attributes only, but other targets have the `short_call`

r308667 - [CodeGen][mips] Support `long_call/far/near` attributes

2017-07-20 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Thu Jul 20 13:34:18 2017 New Revision: 308667 URL: http://llvm.org/viewvc/llvm-project?rev=308667=rev Log: [CodeGen][mips] Support `long_call/far/near` attributes This patch adds support for the `long_call`, `far`, and `near` attributes for MIPS targets. The `long_call`

r307151 - [driver][mips] Remove redundant curly brackets. NFC

2017-07-05 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Jul 5 05:57:32 2017 New Revision: 307151 URL: http://llvm.org/viewvc/llvm-project?rev=307151=rev Log: [driver][mips] Remove redundant curly brackets. NFC Modified: cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp Modified:

r307152 - [driver][mips] Use AddTargetFeature to check arguments and add feature flags. NFC

2017-07-05 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Jul 5 05:57:37 2017 New Revision: 307152 URL: http://llvm.org/viewvc/llvm-project?rev=307152=rev Log: [driver][mips] Use AddTargetFeature to check arguments and add feature flags. NFC Modified: cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp Modified:

r310418 - [mips] Enable `long_call/short_call` attributes on MIPS64

2017-08-08 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Tue Aug 8 14:17:33 2017 New Revision: 310418 URL: http://llvm.org/viewvc/llvm-project?rev=310418=rev Log: [mips] Enable `long_call/short_call` attributes on MIPS64 This change enables `long_call/short_call/far/near` attributes on MIPS64 targets. Differential revision:

r303546 - [mips] Support `micromips` attribute

2017-05-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Mon May 22 07:47:43 2017 New Revision: 303546 URL: http://llvm.org/viewvc/llvm-project?rev=303546=rev Log: [mips] Support `micromips` attribute This patch adds support for the `micromips` and `nomicromips` attributes for MIPS targets. Differential revision:

r303564 - [mips] Quote command line options with `` in the micromips attribute description. NFC

2017-05-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Mon May 22 10:53:31 2017 New Revision: 303564 URL: http://llvm.org/viewvc/llvm-project?rev=303564=rev Log: [mips] Quote command line options with `` in the micromips attribute description. NFC Modified: cfe/trunk/include/clang/Basic/AttrDocs.td Modified:

r303565 - [mips] Add one more check to the micromips attribute test case. NFC

2017-05-22 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Mon May 22 10:53:34 2017 New Revision: 303565 URL: http://llvm.org/viewvc/llvm-project?rev=303565=rev Log: [mips] Add one more check to the micromips attribute test case. NFC Modified: cfe/trunk/test/Sema/attr-micromips.c Modified:

Re: r303546 - [mips] Support `micromips` attribute

2017-05-22 Thread Simon Atanasyan via cfe-commits
On Mon, May 22, 2017 at 3:57 PM, Aaron Ballman <aa...@aaronballman.com> wrote: > On Mon, May 22, 2017 at 8:47 AM, Simon Atanasyan via cfe-commits > <cfe-commits@lists.llvm.org> wrote: >> Author: atanasyan >> Date: Mon May 22 07:47:43 2017 >> New Revision: 3035

r312701 - [mips] Replace Triple::Environment check by the isGNUEnvironment() call. NFC

2017-09-07 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Sep 6 23:05:06 2017 New Revision: 312701 URL: http://llvm.org/viewvc/llvm-project?rev=312701=rev Log: [mips] Replace Triple::Environment check by the isGNUEnvironment() call. NFC Modified: cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp

r311334 - [mips] Remove checking of the redundant condition. NFC

2017-08-21 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Mon Aug 21 07:08:29 2017 New Revision: 311334 URL: http://llvm.org/viewvc/llvm-project?rev=311334=rev Log: [mips] Remove checking of the redundant condition. NFC Modified: cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp Modified:

r331856 - [driver] Add mips_Features_Group to Options to improve documentation sorting

2018-05-09 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed May 9 01:42:30 2018 New Revision: 331856 URL: http://llvm.org/viewvc/llvm-project?rev=331856=rev Log: [driver] Add mips_Features_Group to Options to improve documentation sorting Move all of the MIPS-only options into a new m_mips_Features_Group. Nearly all other

r344570 - [mips] Fix handling of GNUABIN32 environment in a target triple

2018-10-15 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Mon Oct 15 15:43:23 2018 New Revision: 344570 URL: http://llvm.org/viewvc/llvm-project?rev=344570=rev Log: [mips] Fix handling of GNUABIN32 environment in a target triple The `GNUABIN32` environment in a target triple implies using the N32 ABI. This patch adds support for

r344603 - [driver][mips] Adjust target triple's environment accordingly to provided ABI name

2018-10-16 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Tue Oct 16 03:19:06 2018 New Revision: 344603 URL: http://llvm.org/viewvc/llvm-project?rev=344603=rev Log: [driver][mips] Adjust target triple's environment accordingly to provided ABI name For MIPS we need to adjust not only architecture name accordingly to ABI provided

r344583 - [mips] Group similar commands in the test case. NFC

2018-10-15 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Mon Oct 15 22:18:36 2018 New Revision: 344583 URL: http://llvm.org/viewvc/llvm-project?rev=344583=rev Log: [mips] Group similar commands in the test case. NFC Modified: cfe/trunk/test/CodeGen/target-data.c Modified: cfe/trunk/test/CodeGen/target-data.c URL:

r344608 - [driver][mips] Support MIPS R6 target triples

2018-10-16 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Tue Oct 16 07:29:27 2018 New Revision: 344608 URL: http://llvm.org/viewvc/llvm-project?rev=344608=rev Log: [driver][mips] Support MIPS R6 target triples This change adds support for the following MIPS target triples: mipsisa32r6-linux-gnu mipsisa32r6el-linux-gnu

Re: [llvm-dev] mips builders on LLVM buildbot?

2018-11-03 Thread Simon Atanasyan via cfe-commits
Hi Galina, I will try to find owners of these buildbots. I hope to get results on the next week. On Sat, Nov 3, 2018 at 1:48 AM Daniel Sanders wrote: > > Hi Galina, > > I'm sad that they appear to have been abandoned but no objections from me as > I'm not the admin for any of these anymore. A

Re: [llvm-dev] mips builders on LLVM buildbot?

2018-11-15 Thread Simon Atanasyan via cfe-commits
Hi Galina, a) "llvm-mips-linux" buildbot is active now. There are some failed tests but I'm working to make the buildbot "green". b) For now "clang-cmake-mips" and "clang-cmake-mipsel" can be removed. Later we probably restore these buildbots. On Sat, Nov 3, 2018 at 11:26 AM Simon Atanasyan

r343169 - [driver][mips] Adjust target triple accordingly to provided ABI name

2018-09-26 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Sep 26 22:04:50 2018 New Revision: 343169 URL: http://llvm.org/viewvc/llvm-project?rev=343169=rev Log: [driver][mips] Adjust target triple accordingly to provided ABI name Explicitly selected MIPS ABI using the `-mabi` option implies corresponding target triple. For

r348935 - [mips] Enable using of integrated assembler in all cases.

2018-12-12 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Dec 12 07:32:25 2018 New Revision: 348935 URL: http://llvm.org/viewvc/llvm-project?rev=348935=rev Log: [mips] Enable using of integrated assembler in all cases. Modified: cfe/trunk/lib/Driver/ToolChains/Gnu.cpp Modified: cfe/trunk/lib/Driver/ToolChains/Gnu.cpp

r357506 - [driver][mips] Check both `gnuabi64` and `gnu` suffixes in `getMultiarchTriple`

2019-04-02 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Tue Apr 2 11:03:31 2019 New Revision: 357506 URL: http://llvm.org/viewvc/llvm-project?rev=357506=rev Log: [driver][mips] Check both `gnuabi64` and `gnu` suffixes in `getMultiarchTriple` In case of N64 ABI toolchain paths migth have `mips-linux-gnuabi64` or

r357505 - [driver] clang-format. Fix indentation, split long lines. NFC

2019-04-02 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Tue Apr 2 11:03:15 2019 New Revision: 357505 URL: http://llvm.org/viewvc/llvm-project?rev=357505=rev Log: [driver] clang-format. Fix indentation, split long lines. NFC Modified: cfe/trunk/lib/Driver/Driver.cpp cfe/trunk/lib/Driver/ToolChains/Gnu.cpp

r353965 - [Headers][mips] Add `__attribute__((__mode__(__unwind_word__)))` to the _Unwind_Word / _Unwind_SWord definitions

2019-02-13 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Feb 13 10:27:09 2019 New Revision: 353965 URL: http://llvm.org/viewvc/llvm-project?rev=353965=rev Log: [Headers][mips] Add `__attribute__((__mode__(__unwind_word__)))` to the _Unwind_Word / _Unwind_SWord definitions The rationale of this change is to fix _Unwind_Word

r361967 - [mips] Check argument for __builtin_msa_ctcmsa / __builtin_msa_cfcmsa

2019-05-29 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed May 29 07:59:32 2019 New Revision: 361967 URL: http://llvm.org/viewvc/llvm-project?rev=361967=rev Log: [mips] Check argument for __builtin_msa_ctcmsa / __builtin_msa_cfcmsa The `__builtin_msa_ctcmsa` and `__builtin_msa_cfcmsa` builtins are mapped to the `ctcmsa` and

r372220 - [mips] Pass "xgot" flag as a subtarget feature

2019-09-18 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Sep 18 05:24:57 2019 New Revision: 372220 URL: http://llvm.org/viewvc/llvm-project?rev=372220=rev Log: [mips] Pass "xgot" flag as a subtarget feature We need "xgot" flag in the MipsAsmParser to implement correct expansion of some pseudo instructions in case of using

[clang] 0d14656 - [mips] Set __OCTEON__ macros

2019-11-05 Thread Simon Atanasyan via cfe-commits
Author: Simon Atanasyan Date: 2019-11-05T12:10:58+03:00 New Revision: 0d14656b9d8ca38b8ea321c7047eaeec43c5b2ef URL: https://github.com/llvm/llvm-project/commit/0d14656b9d8ca38b8ea321c7047eaeec43c5b2ef DIFF:

[clang] e578d0f - [mips] Fix `__mips_isa_rev` macros value for Octeon CPU

2019-11-05 Thread Simon Atanasyan via cfe-commits
Author: Simon Atanasyan Date: 2019-11-05T12:10:58+03:00 New Revision: e578d0fd295a67bce1e1fc922237f459deb49c7e URL: https://github.com/llvm/llvm-project/commit/e578d0fd295a67bce1e1fc922237f459deb49c7e DIFF:

[clang] f4d32ae - [mips] Check that features required by built-ins are enabled

2019-11-28 Thread Simon Atanasyan via cfe-commits
Author: Simon Atanasyan Date: 2019-11-29T00:23:00+03:00 New Revision: f4d32ae75bf515f443a2c99dce5c882f460c82bd URL: https://github.com/llvm/llvm-project/commit/f4d32ae75bf515f443a2c99dce5c882f460c82bd DIFF:

r374154 - [mips] Set default float ABI to "soft" on FreeBSD

2019-10-09 Thread Simon Atanasyan via cfe-commits
Author: atanasyan Date: Wed Oct 9 03:38:03 2019 New Revision: 374154 URL: http://llvm.org/viewvc/llvm-project?rev=374154=rev Log: [mips] Set default float ABI to "soft" on FreeBSD Initial patch by Kyle Evans. Fix PR43596 Modified: cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp

[clang] 2edcde0 - [MIPS] Add -mfix4300 flag to enable vr4300 mulmul bugfix pass

2021-12-31 Thread Simon Atanasyan via cfe-commits
Author: Random Date: 2021-12-31T15:59:44+03:00 New Revision: 2edcde00cb396cc17d8d8b171a6ebaa97fd30e59 URL: https://github.com/llvm/llvm-project/commit/2edcde00cb396cc17d8d8b171a6ebaa97fd30e59 DIFF: https://github.com/llvm/llvm-project/commit/2edcde00cb396cc17d8d8b171a6ebaa97fd30e59.diff LOG:

[clang] 284c2eb - [clang][MIPS] Fix search path for Debian multilib O32

2021-10-28 Thread Simon Atanasyan via cfe-commits
Author: YunQiang Su Date: 2021-10-28T10:23:06+03:00 New Revision: 284c2ebc5e057a0fda23257b899260d274e69a27 URL: https://github.com/llvm/llvm-project/commit/284c2ebc5e057a0fda23257b899260d274e69a27 DIFF: https://github.com/llvm/llvm-project/commit/284c2ebc5e057a0fda23257b899260d274e69a27.diff

[clang] cedc23b - [MIPS] Add `-no-pie` option to the clang driver's tests depend on it

2022-02-22 Thread Simon Atanasyan via cfe-commits
Author: Simon Atanasyan Date: 2022-02-22T20:24:21+03:00 New Revision: cedc23bc8612feea61c0a7d92ccaae1ce51520ce URL: https://github.com/llvm/llvm-project/commit/cedc23bc8612feea61c0a7d92ccaae1ce51520ce DIFF: