Hi All,
Handle Thumb and big-endian consistently for all "arm*" and "thumb*" Architectures.
Please review.
Thanks,
Christian
Paths
| Differential D3409
Simplify getARMCPUForMArch() and make it more consistent ClosedPublic Authored by cpirker on Apr 17 2014, 7:11 AM.
Details
Summary Hi All, Handle Thumb and big-endian consistently for all "arm*" and "thumb*" Architectures. Thanks,
Diff Detail Event Timeline
cpirker edited edge metadata. Comment ActionsHi All, The check is now more stricter for the architecture. Thanks, This revision is now accepted and ready to land.May 4 2014, 7:14 PM
Revision Contents
Diff 8600 lib/Driver/Tools.cpp
test/Driver/arm-cortex-cpus.c
|
On second thought, this would allow things like "armblahblahblahv4" to be matched as "strongarm".
Maybe it is better to substr MArch to take off the arm/thumb part, then check for eb, chomp that off as well, and finally check that whats left is one of those suffixes.