[PATCH] D130560: [RISCV] Handle register spill in branch relaxation

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 10:38:05 PDT 2022


luismarques added a comment.

In D130560#3746379 <https://reviews.llvm.org/D130560#3746379>, @luismarques wrote:

> The tests don't seem to have been properly updated with `update_llc_test_checks.py`. `llvm/test/CodeGen/RISCV/branch-relaxation.ll` contains RV64 RUN lines but the corresponding CHECK lines are missing in some functions.

Looking more closely at this, I guess you tried to only include the `CHECK-RV64` and `CHECK-RV32` checks when relevant. That's a good instinct but I guess it goes a bit against how we normally use `update_llc_test_checks.py`. My understanding of the trade-off of using that tool is that the test updates are much easier, even if sometimes the CHECKs aren't as tight as something more tailormade.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130560



More information about the llvm-commits mailing list