From: Sanjiv Gupta Date: Sat, 25 Jul 2009 07:48:53 +0000 (+0000) Subject: Mark attributes of return insn correctly. It was being assumed safe to delete in... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e0d12d5f7b0a6369df128c8b0cc43e6e08a804a0;p=oota-llvm.git Mark attributes of return insn correctly. It was being assumed safe to delete in isSafeToDelete (a thing checked-in 76281). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77056 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PIC16/PIC16InstrInfo.td b/lib/Target/PIC16/PIC16InstrInfo.td index 54f2b337e03..5e925c25277 100644 --- a/lib/Target/PIC16/PIC16InstrInfo.td +++ b/lib/Target/PIC16/PIC16InstrInfo.td @@ -491,6 +491,7 @@ def pagesel : // Return insn. +let isTerminator = 1, isBarrier = 1, isReturn = 1 in def Return : ControlFormat<0, (outs), (ins), "return", [(ret)]>;