From b9c4a98c35fce41f94d394f656b8741b4fa98772 Mon Sep 17 00:00:00 2001 From: Christian Eichler <code@christian-eichler.de> Date: Mon, 10 Oct 2016 19:43:38 +0200 Subject: [PATCH] Only prevent exporting PSEUDO_LOOPBOUND & IMPLICIT_DEF --- lib/Target/ARM/ARMExport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMExport.cpp b/lib/Target/ARM/ARMExport.cpp index 5336f73fc3c..3409fd5c00d 100644 --- a/lib/Target/ARM/ARMExport.cpp +++ b/lib/Target/ARM/ARMExport.cpp @@ -50,7 +50,8 @@ namespace llvm { virtual bool doExportInstruction(const MachineInstr *Ins) { - return !Ins->isPseudo(); + return Ins->getOpcode() != ARM::PSEUDO_LOOPBOUND + && Ins->getOpcode() != ARM::IMPLICIT_DEF; } virtual void serialize(MachineFunction &MF); -- GitLab