[PATCH] D135757: [LoongArch] Add emergency spill slot for GPR for large frames

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 23 05:52:16 PDT 2022


SixWeining accepted this revision.
SixWeining added a comment.
This revision is now accepted and ready to land.

This patch survives several tests from llvm-test-suite in `O0` build which otherwise report errors like:

  fatal error: error in backend: Error while trying to spill R7 from class GPR: Cannot scavenge register without an emergency spill slot!

These tests includes:

- MultiSource/Benchmarks/mafft
- SingleSource/Regression/C/gcc-c-torture/execute/multi-ix.c
- SingleSource/UnitTests/matrix-types-spec.cpp


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135757/new/

https://reviews.llvm.org/D135757



More information about the llvm-commits mailing list