From 8cc4834d121d8ca56b39fc2ae092bede40426116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20G=C3=B6rdes?= <michael.goerdes@fau.de> Date: Thu, 4 Nov 2021 16:47:24 +0100 Subject: [PATCH] Don't export KILL instructions --- lib/Target/ARM/ARMExport.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/ARM/ARMExport.cpp b/lib/Target/ARM/ARMExport.cpp index b80a0ec4ea9..9eb2b7d2506 100644 --- a/lib/Target/ARM/ARMExport.cpp +++ b/lib/Target/ARM/ARMExport.cpp @@ -148,6 +148,7 @@ namespace llvm { return Ins->getOpcode() != ARM::PSEUDO_LOOPBOUND && Ins->getOpcode() != ARM::IMPLICIT_DEF && Ins->getOpcode() != ARM::PSEUDO_PLATINA + && Ins->getOpcode() != ARM::KILL && Ins->getOpcode() != TargetOpcode::CFI_INSTRUCTION && Ins->getOpcode() != TargetOpcode::DBG_VALUE; // As of 20.04.2018: For not so obscure reasons, some special -- GitLab