[AArch64InstPrinter] Use the feature bits of the subtarget passed to the print
authorAkira Hatanaka <ahatanaka@apple.com>
Fri, 27 Mar 2015 20:37:20 +0000 (20:37 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Fri, 27 Mar 2015 20:37:20 +0000 (20:37 +0000)
commitf2f2ef70a0cfd282863524a8619ec562b3e57c16
treef8c51384078e2af94eab5bab908d5c36c50e824e
parentf09378397e2ed3d2e916e321c528c1cfd0ec67ca
[AArch64InstPrinter] Use the feature bits of the subtarget passed to the print
method.

This enables the instprinter to print a different system register name based on
the feature bits of the per-function subtarget.

Differential Revision: http://reviews.llvm.org/D8668

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233412 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
test/CodeGen/AArch64/print-mrs-system-register.ll [new file with mode: 0644]