diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-03-21 17:19:12 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-03-21 17:19:12 +0000 |
commit | 7f05ca38e42bba1ac82021b3b4728e56467710df (patch) | |
tree | 4f9ca968dc5d4784504bf5e7f50d899f1d381711 /llvm/lib/CodeGen | |
parent | e2d4748ae35332c81ec7883d0f4fb8c532eda686 (diff) | |
download | bcm5719-llvm-7f05ca38e42bba1ac82021b3b4728e56467710df.tar.gz bcm5719-llvm-7f05ca38e42bba1ac82021b3b4728e56467710df.zip |
Duplicated code is bad. At least make it consistent.
The getARMTargetCPU and getLLVMArchSuffixForARM functions exist in both
Toolchain.cpp and Tools.cpp. This stuff needs a thorough overhaul. In the
meantime, this patch at least makes them consistent. One version had been
converted to use StringSwitch, and the other version had new Cortex M-series
processors added.
llvm-svn: 153202
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions