[Triple] Add isThumb and isARM functions.
Audit RequiredrL310781

Description

[Triple] Add isThumb and isARM functions.

Summary:
isThumb returns true for Thumb triples (little and big endian), isARM
returns true for ARM triples (little and big endian).
There are a few more checks using arm/thumb that are not covered by
those functions, e.g. that the architecture is either ARM or Thumb
(little endian) or ARM/Thumb little endian only.

Reviewers: javed.absar, rengolin, kristof.beyls, t.p.northover

Reviewed By: rengolin

Subscribers: llvm-commits, aemerson

Differential Revision: https://reviews.llvm.org/D34682

Details

Auditors
grosbach
Committed
fhahnSat, Aug 12, 10:40 AM
Reviewer
rengolin
Differential Revision
D34682: [Triple] Add isThumb and isARM functions.
Parents
rL310780: [X86] Regenerate merge store tests. NFCI.
Branches
Unknown
Tags
Unknown