[PATCH] D89239: [RISCV][PrologEpilogInserter] "Float" emergency spill slots to avoid making them immediately unreachable from the stack pointer
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 06:25:39 PST 2020
sdesmalen added inline comments.
================
Comment at: llvm/lib/CodeGen/PrologEpilogInserter.cpp:1092
+ int64_t Delta = Offset - OffsetBeforeAlignment;
+ for (SmallVectorImpl<int>::iterator I = SFIs.begin(), IE = SFIs.end();
+ I != IE; ++I) {
----------------
Is this approach the same as setting the alignment of the last SFI to StackAlign?
================
Comment at: llvm/test/CodeGen/RISCV/out-of-reach-emergency-slot.mir:1
+# NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+# REQUIRES: asserts
----------------
This test seems quite substantial, is there no simpler IR to test this?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89239/new/
https://reviews.llvm.org/D89239
More information about the llvm-commits
mailing list