diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-25 07:48:53 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-25 07:48:53 +0000 |
commit | e0d12d5f7b0a6369df128c8b0cc43e6e08a804a0 (patch) | |
tree | 46b538f11e45d207443cb0546a080020ef79a475 | |
parent | 6dc82863a677d8c3a3b27906a094d43ec0695af1 (diff) |
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
-rw-r--r-- | lib/Target/PIC16/PIC16InstrInfo.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16InstrInfo.td b/lib/Target/PIC16/PIC16InstrInfo.td index 54f2b337e0..5e925c2527 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)]>; |