summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/arm-alignment.c
Commit message (Collapse)AuthorAgeFilesLines
* [ARM] Add Clang targeting for ARMv8-M Baseline/MainlineBradley Smith2016-03-031-3/+5
| | | | llvm-svn: 262619
* The Driver does not set the +strict-align flag when targetingAlexandros Lamprineas2015-10-051-0/+6
| | | | | | | | [ARM] armv6m + netbsd. Tests are misssing for armv6m + darwin as well. Differential Revision: http://reviews.llvm.org/D13217 llvm-svn: 249308
* [AArch64] Pass subtarget feature "+strict-align".Akira Hatanaka2015-07-291-2/+2
| | | | | | | | | | This commit changes the driver to save subtarget feature "+strict-align" to the IR instead of using backend option "aarch64-strict-align". This is needed for LTO. rdar://problem/21529937 llvm-svn: 243518
* [ARM] Pass subtarget feature "+strict-align".Akira Hatanaka2015-07-281-2/+29
| | | | | | | | | | | | | | This commit changes the driver to save subtarget feature "+strict-align" to the IR instead of using backend option "arm-strict-align". This is needed for LTO. Also, move the logic in ARM backend that was deciding whether strict alignment should be forced to the front-end. rdar://problem/21529937 http://reviews.llvm.org/D11472 llvm-svn: 243489
* Emit diagnostic for -munaligned-access on v6mJonathan Roelofs2014-10-071-0/+9
| | | | | | Patch by: Charlie Turner <charlie.turner@arm.com> llvm-svn: 219211
* Fix up handling of ARM options for controlling strict alignment.Bob Wilson2014-07-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | The -mstrict-align option was originally added in r167619 as a target- independent option. It was then changed in r167623 to be implemented with an ARM-specific backend option, even though the code remained in the target-independent Clang::ConstructJob function. This means that if you used the -mstrict-align option with a non-ARM target, you would still get the -arm-strict-align option getting passed to the backend, which was harmless but gross. The driver option was then replaced by the GCC-compatible -m[no-]unaligned-access option (r189175) and modified to work with AArch64 (r208075). However, in the process, the help text for -mstrict-align was incorrectly changed to show it as only being supported for AArch64. Even worse, the logic for handling these options together with -mkernel was wrong for AArch64, where -mkernel does not currently imply strict alignment. This patch fixes up all of those things. Besides the obvious change to the option help text, it moves the logic into the ARM and AArch64-specific parts of the driver, so that the option will be correctly ignored for non-ARM targets. <rdar://problem/17823697> llvm-svn: 214148
* AArch64/ARM64: rename ARM64 components to AArch64Tim Northover2014-05-241-16/+16
| | | | | | This keeps Clang consistent with backend naming conventions. llvm-svn: 209579
* [PATCH] [ARM64] Enable alignment control option in front-end for ARM64.Kevin Qin2014-05-061-9/+32
| | | | | | | This patch is to get "-mno-unaligned-access" and "-munaligned-access" work in front-end for ARM64 target. llvm-svn: 208075
* Fix gnueeabi typo in testsRenato Golin2013-09-021-5/+5
| | | | llvm-svn: 189759
* use the last passed -munaligned-access / -mno-unaligned-accessRenato Golin2013-08-281-0/+16
| | | | | | | | | | | | | | | Passing inconsistent munaligned-access / mno-unaligned-access flags, intentionally resulted in a warning and the flag no-unaligned-access being used. Gcc does, at least in practice, use the last flag in such a case. This patch updates clang behaviour accordingly; use the last flag or base alignment behaviour on the target (which llvm will do if no flag is explicitly passed) Patch by Jeroen Hofstee. llvm-svn: 189542
* Tests for ARM aligned access + reserved R9Renato Golin2013-08-251-0/+9
Patch by Jeroen Hofstee. llvm-svn: 189190
OpenPOWER on IntegriCloud