bohara-qti wrote: Looks good (though haven't touched CFI much). Is there a directed EH test that checks unwind fires N times and R19 matches original value? In the epilogue CHECK-DAG, can the memw/add ever get reordered? https://github.com/llvm/llvm-project/pull/200508