[PATCH] D86099: [AArch64][SVE] Fix calculation restore point for SVE callee saves.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 13:55:29 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:1699
while (IsSVECalleeSave(RestoreBegin) &&
RestoreBegin != MBB.begin())
--RestoreBegin;
----------------
Can we simplify this to something like `while (RestoreBegin != MBB.begin() && IsSVECalleeSave(std::prev(RestoreBegin)) --RestoreBegin;`, instead of bouncing around in both directions?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86099/new/
https://reviews.llvm.org/D86099
More information about the llvm-commits
mailing list