mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-03 10:19:25 +00:00
Fix bugs in finegrainification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0742b59913
commit
11d1f21e1d
@ -30,7 +30,7 @@ using namespace llvm;
|
|||||||
// FIXME: This should be a property of the target so that more than one target
|
// FIXME: This should be a property of the target so that more than one target
|
||||||
// at a time can be active...
|
// at a time can be active...
|
||||||
//
|
//
|
||||||
namespace {
|
namespace llvm {
|
||||||
extern const TargetInstrDescriptor *TargetInstrDescriptors;
|
extern const TargetInstrDescriptor *TargetInstrDescriptors;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -329,6 +329,7 @@ void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) const {
|
|||||||
OS << "\n";
|
OS << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace llvm {
|
||||||
std::ostream &operator<<(std::ostream &os, const MachineInstr &MI) {
|
std::ostream &operator<<(std::ostream &os, const MachineInstr &MI) {
|
||||||
// If the instruction is embedded into a basic block, we can find the target
|
// If the instruction is embedded into a basic block, we can find the target
|
||||||
// info for the instruction.
|
// info for the instruction.
|
||||||
@ -448,3 +449,4 @@ std::ostream &operator<<(std::ostream &OS, const MachineOperand &MO) {
|
|||||||
return OS;
|
return OS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user