Skip to content
Snippets Groups Projects
Commit ec6bb9cd authored by Christian Eichler's avatar Christian Eichler Committed by Simon Schuster
Browse files

Prevent exporting of PSEUDO_LOOPBOUND instructions to PML

parent 828ffbae
No related branches found
No related tags found
No related merge requests found
...@@ -50,12 +50,7 @@ namespace llvm { ...@@ -50,12 +50,7 @@ namespace llvm {
virtual bool doExportInstruction(const MachineInstr *Ins) { virtual bool doExportInstruction(const MachineInstr *Ins) {
StringRef op = getOpcode(Ins).getName(); return !Ins->isPseudo();
if (op == "PSEUDO_LOOPBOUND"
|| op == "IMPLICIT_DEF")
return false;
return true;
} }
virtual void serialize(MachineFunction &MF); virtual void serialize(MachineFunction &MF);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment