[Linker] Remove warning when linking ARM and Thumb IR modules.Summary:This patch updates Triple::isCompatibleWith to make armxx and thumbxxtriples compatible, as long as the subarch, vendor, os,
[Linker] Remove warning when linking ARM and Thumb IR modules.Summary:This patch updates Triple::isCompatibleWith to make armxx and thumbxxtriples compatible, as long as the subarch, vendor, os, envorionment andobject format match. Thumb/ARM code generation should be controlledusing the thumb-mode per-function target feature rather than by thetriple to allow mixing Thumb and ARM functions.D33448 updates Clang's codegen to add thumb-mode for all functions witharmxx or thumbxx triples.Reviewers: echristo, t.p.northover, rafael, kristof.beyls, rengolin, tejohnsonReviewed By: tejohnsonSubscribers: rinon, eugenis, pcc, srhines, aemerson, mehdi_amini, javed.absar, llvm-commitsDifferential Revision: https://reviews.llvm.org/D33287llvm-svn: 304884
show more ...