[PATCH] D11824: Make target feature 'arm' cover both 32 and 64 bit architecutres

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 6 16:10:03 PDT 2015


benlangmuir created this revision.
benlangmuir added a reviewer: rsmith.
benlangmuir added a subscriber: cfe-commits.
benlangmuir set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.


    ... and add aarch32 to specifically refer to the 32-bit ones.
    
    Previously, 'arm' meant only 32-bit architectures and there was no way
    for a module to build with both 32 and 64 bit ARM architectures.
    
    Now a module that is intended to work on both architectures can specify
        requires arm
    whereas a module only for 32-bit platforms can say
        requires aarch32
    and just like before, 64-bit only can say
        requires aarch64


Repository:
  rL LLVM

http://reviews.llvm.org/D11824

Files:
  lib/Basic/Targets.cpp
  test/Modules/Inputs/module.map
  test/Modules/compiler_builtins_aarch64.m
  test/Modules/target-features.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11824.31490.patch
Type: text/x-patch
Size: 5161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150806/a0df73ee/attachment-0001.bin>


More information about the cfe-commits mailing list