From 243a32f96b364811e2f9feadecfefb21b640321f Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Fri, 15 Jan 2010 01:50:44 +0000 Subject: Remove DEBUG_DECLARE, looks like we don't need it. Also, DEBUG_VALUE has side effects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93498 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/Target.td | 9 --------- include/llvm/Target/TargetInstrInfo.h | 5 +---- 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'include') diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td index 740bf4f..206e42e 100644 --- a/include/llvm/Target/Target.td +++ b/include/llvm/Target/Target.td @@ -482,15 +482,6 @@ def DEBUG_VALUE : Instruction { let InOperandList = (ops unknown:$value, i64imm:$offset, unknown:$meta); let AsmString = "DEBUG_VALUE"; let Namespace = "TargetInstrInfo"; - let neverHasSideEffects = 1; - let isAsCheapAsAMove = 1; -} -def DEBUG_DECLARE : Instruction { - let OutOperandList = (ops); - let InOperandList = (ops unknown:$vbl, unknown:$meta); - let AsmString = "DEBUG_DECLARE"; - let Namespace = "TargetInstrInfo"; - let neverHasSideEffects = 1; let isAsCheapAsAMove = 1; } } diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index e6df1bf..8e2157e 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -91,10 +91,7 @@ public: COPY_TO_REGCLASS = 10, // DEBUG_VALUE - a mapping of the llvm.dbg.value intrinsic - DEBUG_VALUE = 11, - - // DEBUG_DECLARE - a mapping of the llvm.dbg.declare intrinsic - DEBUG_DECLARE = 12 + DEBUG_VALUE = 11 }; unsigned getNumOpcodes() const { return NumOpcodes; } -- cgit v1.1