jrtc27 added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:86
+
+ // Get shadow call stack pointer register.
+ Register SCSPReg = RISCVABI::getSCSPReg();
----------------
Pointless comment; remove
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:89
+
+ // Emit an error message and bail out.
+ if (!STI.isRegisterReservedByUser(SCSPReg)) {
----------------
Pointless comment; remove
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84414/new/
https://reviews.llvm.org/D84414
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits