mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
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
This commit is contained in:
parent
6dc82863a6
commit
e0d12d5f7b
@ -491,6 +491,7 @@ def pagesel :
|
|||||||
|
|
||||||
|
|
||||||
// Return insn.
|
// Return insn.
|
||||||
|
let isTerminator = 1, isBarrier = 1, isReturn = 1 in
|
||||||
def Return :
|
def Return :
|
||||||
ControlFormat<0, (outs), (ins), "return", [(ret)]>;
|
ControlFormat<0, (outs), (ins), "return", [(ret)]>;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user