We need to pass the TargetMachine object to the InstPrinter if we are printing
authorBill Wendling <isanbard@gmail.com>
Mon, 21 Mar 2011 04:13:46 +0000 (04:13 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 21 Mar 2011 04:13:46 +0000 (04:13 +0000)
commita5c177e70a42f48e4885075c4c48aad0816a2817
treeaeeef1186b086a66459727967e2e2d71ff800c92
parent262a8627870c38f385944fc2ed9ae365347adf47
We need to pass the TargetMachine object to the InstPrinter if we are printing
the alias of an InstAlias instead of the thing being aliased. Because we need to
know the features that are valid for an InstAlias.

This is part of a work-in-progress.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127986 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/Target/TargetRegistry.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/MC/MCDisassembler/EDDisassembler.cpp
lib/Target/ARM/ARMAsmPrinter.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.h
lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h
lib/Target/MBlaze/MBlazeAsmPrinter.cpp
lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h
lib/Target/MSP430/MSP430AsmPrinter.cpp
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
lib/Target/X86/X86AsmPrinter.cpp
tools/llvm-mc/Disassembler.cpp
tools/llvm-mc/Disassembler.h
tools/llvm-mc/llvm-mc.cpp
tools/llvm-objdump/llvm-objdump.cpp