Add ifdef around getSubtargetFeatureName in tablegen output file so that only targets...
authorCraig Topper <craig.topper@gmail.com>
Wed, 25 Apr 2012 06:56:34 +0000 (06:56 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 25 Apr 2012 06:56:34 +0000 (06:56 +0000)
commit8030e1a0df630ec6ed1cd5ec673f6472558a4dbe
tree06d448069385ea69bb0c6c4bedb1d0b955899e2a
parentc16f851569eff1c2296e6addf341c9797e386f01
Add ifdef around getSubtargetFeatureName in tablegen output file so that only targets that want the function get it. This prevents other targets from getting an unused function warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155538 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
utils/TableGen/AsmMatcherEmitter.cpp