llvm-project/llvm/lib/CodeGen/MIRParser
Sander de Smalen f13beac51b [AArch64][SVE] Preserve full vector regs over EH edge.
Unwinders may only preserve the lower 64bits of Neon and SVE registers,
as only the registers in the base ABI are guaranteed to be preserved
over the exception edge. The caller will need to preserve additional
registers for when the call throws an exception and the unwinder has
tried to recover state.

For  e.g.

    svint32_t bar(svint32_t);
    svint32_t foo(svint32_t x, bool *err) {
      try { bar(x); } catch (...) { *err = true; }
      return x;
    }

`z0` needs to be spilled before the call to `bar(x)` and reloaded before
returning from foo, as the exception handler may have clobbered z0.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D84737
2020-09-02 10:54:18 +01:00
..
CMakeLists.txt [cmake] LLVMMIRParser - add include/llvm/CodeGen/LLVMMIRParser header path 2020-04-18 12:31:41 +01:00
LLVMBuild.txt
MILexer.cpp MILexer.h/cpp - remove unused includes. NFC. 2020-05-22 10:49:10 +01:00
MILexer.h MILexer.h/cpp - remove unused includes. NFC. 2020-05-22 10:49:10 +01:00
MIParser.cpp [MIR] Speedup parsing of function with large number of basic blocks 2020-07-08 18:50:00 +03:00
MIRParser.cpp [AArch64][SVE] Preserve full vector regs over EH edge. 2020-09-02 10:54:18 +01:00