Make the ARM ABI selectable via SubtargetFeature.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 2 Jan 2014 13:40:08 +0000 (13:40 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 2 Jan 2014 13:40:08 +0000 (13:40 +0000)
commita21a8a863ddfda6882fdbdc5a714030b4bf49aec
tree61a6a7925f8ad6ea537f59c822728c725711accf
parente7d30fb809cf05ebc3e8e1025d0774f731986763
Make the ARM ABI selectable via SubtargetFeature.

This patch makes it possible to select the ABI with -mattr. It will be used to
forward clang's -target-abi option to llvm's CodeGen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198304 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
test/CodeGen/ARM/arm-abi-attr.ll [new file with mode: 0644]