[SparcInstPrinter] Use the subtarget that is passed to the print function
authorAkira Hatanaka <ahatanaka@apple.com>
Sat, 28 Mar 2015 04:03:51 +0000 (04:03 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Sat, 28 Mar 2015 04:03:51 +0000 (04:03 +0000)
commit2841bc68583ddadcaf11e2a022c73d97259f0900
tree15024d6f33f843f3a1cc8610188067ff03fb04c0
parent74381e237b39f010f7394798ffc8b159b3f54849
[SparcInstPrinter] Use the subtarget that is passed to the print function
instead of the one passed to the constructor.

Unfortunately, I don't have a test case for this change. In order to test my
change, I will have to run the code after line 90 in printSparcAliasInstr. I
couldn't make that happen because printAliasInstr would always handle the
printing of fcmp instructions that the code after line 90 is supposed to handle.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233471 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp
lib/Target/Sparc/InstPrinter/SparcInstPrinter.h
lib/Target/Sparc/Sparc.td