Add backend name to AVR Target to enable runtime info to be fed back into TableGen

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Leslie Zhai 2017-11-23 04:11:11 +00:00
parent 9fd11b97ef
commit 6d2231861c

View File

@ -18,6 +18,6 @@ Target &getTheAVRTarget() {
extern "C" void LLVMInitializeAVRTargetInfo() {
llvm::RegisterTarget<llvm::Triple::avr> X(llvm::getTheAVRTarget(), "avr",
"Atmel AVR Microcontroller");
"Atmel AVR Microcontroller", "AVR");
}