[PATCH] D95227: [RISCV] Simplify BP initialisation
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 16:51:54 PST 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:484
// track the current stack after allocating variable sized objects.
- if (hasBP(MF)) {
+ if (hasBP(MF))
// move BP, SP
----------------
While they aren't necessary, leave the curly braces since the comment makes more than one line below the if.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95227/new/
https://reviews.llvm.org/D95227
More information about the llvm-commits
mailing list