ARM: deduplicate hard-float detection code. NFC.
authorTim Northover <tnorthover@apple.com>
Wed, 18 Jul 2018 12:36:25 +0000 (12:36 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 18 Jul 2018 12:36:25 +0000 (12:36 +0000)
commit097a3e3d957f1539c7ccb7c417300e9f838f4b28
tree0fa030ec07de24d06470579e9e2d0b0bf99784b7
parent330d887d72f4a298bef86c4d3fd6f628e5bc9e2c
ARM: deduplicate hard-float detection code. NFC.

ARMSubtarget had a copy/pasted block to determine whether the target was
hard-float, but it just delegated to triple features anyway so it's better at
the TargetMachine level.

llvm-svn: 337384
llvm/lib/Target/ARM/ARMSubtarget.cpp
llvm/lib/Target/ARM/ARMSubtarget.h
llvm/lib/Target/ARM/ARMTargetMachine.cpp
llvm/lib/Target/ARM/ARMTargetMachine.h