Model ARM backend ABI selection after the front end code doing the
authorEric Christopher <echristo@gmail.com>
Thu, 18 Dec 2014 02:08:45 +0000 (02:08 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 18 Dec 2014 02:08:45 +0000 (02:08 +0000)
commit1971c3508a3e781104803d750496339460dfac1e
tree393bb5e7e0cd55aa403b56ea88075c06b57a816f
parent7a6f5e47cf3144ea1fdf4105279f0a2bc23aa59f
Model ARM backend ABI selection after the front end code doing the
same. This will change the "bare metal" ABI from APCS to AAPCS.

The only difference between the front and back end code is that
the code for Triple::GNU was added for environment. That will migrate
to the front end shortly.

Tests updated with the ABI they were originally testing in the case
of bare metal (e.g. -mtriple armv7) or with a -gnu for arm-linux
triples.

llvm-svn: 224489
llvm/lib/Target/ARM/ARMSubtarget.cpp
llvm/test/CodeGen/ARM/arm-abi-attr.ll
llvm/test/CodeGen/ARM/atomic-64bit.ll
llvm/test/CodeGen/ARM/dagcombine-concatvector.ll
llvm/test/CodeGen/ARM/emit-big-cst.ll
llvm/test/CodeGen/ARM/tail-call.ll