diff options
| author | Florian Hahn <florian.hahn@arm.com> | 2017-06-07 09:17:01 +0000 |
|---|---|---|
| committer | Florian Hahn <florian.hahn@arm.com> | 2017-06-07 09:17:01 +0000 |
| commit | 1d38129b92e09b99df20711647e4814cc2e272d7 (patch) | |
| tree | b578ca8316694c2244599a154316f85681a63bca /llvm/lib/Target/ARM | |
| parent | bc8383e76c61be05e1a63eb0a811d4797035cda1 (diff) | |
| download | bcm5719-llvm-1d38129b92e09b99df20711647e4814cc2e272d7.tar.gz bcm5719-llvm-1d38129b92e09b99df20711647e4814cc2e272d7.zip | |
[Linker] Remove warning when linking ARM and Thumb IR modules.
Summary:
This patch updates Triple::isCompatibleWith to make armxx and thumbxx
triples compatible, as long as the subarch, vendor, os, envorionment and
object format match. Thumb/ARM code generation should be controlled
using the thumb-mode per-function target feature rather than by the
triple to allow mixing Thumb and ARM functions.
D33448 updates Clang's codegen to add thumb-mode for all functions with
armxx or thumbxx triples.
Reviewers: echristo, t.p.northover, rafael, kristof.beyls, rengolin, tejohnson
Reviewed By: tejohnson
Subscribers: rinon, eugenis, pcc, srhines, aemerson, mehdi_amini, javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D33287
llvm-svn: 304884
Diffstat (limited to 'llvm/lib/Target/ARM')
0 files changed, 0 insertions, 0 deletions

