forked from OSchip/llvm-project
Mark attributes of return insn correctly. It was being assumed safe to delete in isSafeToDelete (a thing checked-in 76281).
llvm-svn: 77056
This commit is contained in:
parent
fcfbc7bb2c
commit
b6ee0b1d9b
|
@ -491,6 +491,7 @@ def pagesel :
|
|||
|
||||
|
||||
// Return insn.
|
||||
let isTerminator = 1, isBarrier = 1, isReturn = 1 in
|
||||
def Return :
|
||||
ControlFormat<0, (outs), (ins), "return", [(ret)]>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue