summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-03-21 17:19:12 +0000
committerBob Wilson <bob.wilson@apple.com>2012-03-21 17:19:12 +0000
commit7f05ca38e42bba1ac82021b3b4728e56467710df (patch)
tree4f9ca968dc5d4784504bf5e7f50d899f1d381711 /llvm/lib/CodeGen
parente2d4748ae35332c81ec7883d0f4fb8c532eda686 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud