summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/hexagon-toolchain-elf.c
Commit message (Collapse)AuthorAgeFilesLines
* [Driver][test] Fix Driver/hexagon-toolchain-elf.c for ↵Fangrui Song2020-01-141-1/+2
| | | | | | | | -DCLANG_DEFAULT_LINKER=lld builds Reviewed By: nathanchance, sidneym Differential Revision: https://reviews.llvm.org/D72668
* Add missing `REQUIRES: hexagon-registered-target`David Zarzycki2019-12-211-0/+1
| | | | | After d567b0ba841d4b6f4b0d906da350a3bb2b2f769f, the test suite no longer passes if hexagon is disabled.
* Avoid unsupported LLD optionsSid Manning2019-12-201-0/+22
| | | | Differential Revision: https://reviews.llvm.org/D70919
* Unbreak the clang test suite when hexagon-link is not availableDavid Zarzycki2019-11-151-1/+1
| | | | | All of the other tests are of the form {{hexagon-link|ld}} so this probably should be too.
* [Hexagon] Fix clang driver to parse -mcpu/-mvXX and -march properly.Sumanth Gundapaneni2019-11-141-0/+13
| | | | | | Before this patch if we pass "-mcpu=hexagonv65 -march=hexagon" in this order, the driver fails to figure out the correct cpu version. This patch fixed this issue.
* [Hexagon] Add support for Hexagon V66Krzysztof Parzyszek2018-12-051-4/+12
| | | | llvm-svn: 348415
* [Hexagon] Remove support for V4Krzysztof Parzyszek2018-10-191-8/+0
| | | | llvm-svn: 344786
* [Hexagon] Update tests account for non-hardcoded linker name.Sid Manning2018-10-141-26/+26
| | | | | | | | | Tests should not assume the linker's name, CLANG_DEFAULT_LINKER could change it. Differential Revision: https://reviews.llvm.org/D53219 llvm-svn: 344482
* [Hexagon] Remove fp-contract=fast setting for at O3Brendon Cahoon2018-09-121-1/+1
| | | | | | | | | Change Hexagon so that the setting for fp-contract is the default setting. This makes Hexagon consistent with all other targets. Differential Revision: https://reviews.llvm.org/D49999 llvm-svn: 342078
* [Hexagon] Add -ffixed-r19 driver option and translate it to +reserved-r19Krzysztof Parzyszek2018-02-281-3/+13
| | | | llvm-svn: 326366
* [Hexagon] Add front-end support for Hexagon V65Krzysztof Parzyszek2017-12-131-5/+13
| | | | llvm-svn: 320579
* [Hexagon] Set -ffp-contract=fast at -O3 unless explicitly specifiedKrzysztof Parzyszek2017-04-251-0/+16
| | | | llvm-svn: 301361
* [Hexagon] Recognize hexagonv62 as a valid target CPUKrzysztof Parzyszek2017-03-141-0/+8
| | | | llvm-svn: 297778
* [Hexagon] Avoid spurious failures in test/Driver/hexagon-toolchain-elf.cKrzysztof Parzyszek2016-05-111-4/+4
| | | | llvm-svn: 269200
* Fix Clang tests that used CHECK-NEXT-NOT and CHECK-DAG-NOT.Paul Robinson2016-02-261-3/+3
| | | | | | | | FileCheck actually doesn't support combo suffixes. Differential Revision: http://reviews.llvm.org/D17589 llvm-svn: 262052
* [Hexagon] Update default paths and argumentsKrzysztof Parzyszek2015-12-141-466/+361
| | | | | | | | | - Removed support for hexagonv3 and earlier. - Added handling of hexagonv55 and hexagonv60. - Added handling of target features (hvx, hvx-double). - Updated paths to reflect current directory layout. llvm-svn: 255502
* [Hexagon] Use integrated assembler by defaultKrzysztof Parzyszek2015-12-091-32/+32
| | | | llvm-svn: 255127
* Use the AddAllArgs overload which accepts an ArrayRef of OptSpecifier.Douglas Katzman2015-07-291-1/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D11599 llvm-svn: 243552
* Factor out SmallDataThresholdIkhlas Ajbar2015-05-141-7/+0
| | | | | | This patch factors out SmallDataThreshold code. llvm-svn: 237364
* Fix clash of gcc toolchains in hexagon driver regression tests.Samuel Antao2014-11-071-0/+33
| | | | | | If clang was configured with a custom gcc toolchain (either by using GCC_INSTALL_PREFIX in cmake or the equivalent configure command), the path to the custom gcc toolchain path takes precedence to the one specified by -ccc-install-dir. This causes several regression tests to fail as they will be using an unexpected path. Adding the switch --gcc-toolchain="" in each test command is not enough as the hexagon toolchain implementation in the driver is not evaluating this argument. This commit modifies the hexagon toolchain to take the --gcc-toolchain="" argument into account when deciding the toolchain path, similarly to what is already done for other targets toolchains. Additionally, the faulty regression tests are modified in order to --gcc-toolchain="" be passed to the commands. llvm-svn: 221535
* Fix Driver tests that I broke on Windows in r214924Reid Kleckner2014-08-051-52/+52
| | | | llvm-svn: 214931
* Don't check clang binary name, as it can be different in some test setups.Alexander Kornienko2014-06-271-19/+19
| | | | | | | | | | | | | | Summary: This unbreaks our internal build after these tests were turned on in r211738. Reviewers: chandlerc Reviewed By: chandlerc Subscribers: benlangmuir, cfe-commits Differential Revision: http://reviews.llvm.org/D4311 llvm-svn: 211887
* Remove REQUIRES lines from portable testsAlp Toker2014-06-251-2/+0
| | | | | | These tests are target-independent and shouldn't ever be suppressed. llvm-svn: 211738
* Fix option spelling.Rafael Espindola2013-10-271-1/+1
| | | | llvm-svn: 193503
* Turn Driver::CCCIsCXX and CCCIsCPP into a single Mode enum,Hans Wennborg2013-07-181-8/+8
| | | | | | | | | | | | and add a new option --driver-mode= to control it explicitly. The CCCIsCXX and CCCIsCPP flags were non-overlapping, i.e. there are currently really three modes that Clang can run in: gcc, g++ or cpp, so it makes sense to represent them as an enum. Having a command line flag to control it helps testing. llvm-svn: 186605
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-6/+6
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* Remove PathV1.h usage from ToolChains.cpp.Rafael Espindola2013-06-261-1/+1
| | | | llvm-svn: 184902
* Accept both / and \\ to fix the windows bots.Rafael Espindola2013-06-241-52/+52
| | | | llvm-svn: 184790
* Hexagon: Remove -g option from the assembler command line.Jyotsna Verma2013-04-111-1/+1
| | | | llvm-svn: 179299
* Test Hexagon tool-chain when configured as OSless target.Jyotsna Verma2013-04-031-0/+564
llvm-svn: 178669
OpenPOWER on IntegriCloud