[RISCV][test] Update branch-relaxation.ll with update_llc_test_checks.py [NFC]
authorZHU Zijia <piggynl@outlook.com>
Thu, 25 Aug 2022 08:59:34 +0000 (16:59 +0800)
committerZHU Zijia <piggynl@outlook.com>
Thu, 25 Aug 2022 09:01:34 +0000 (17:01 +0800)
commit395bda933f76097fee350544e05373838d7e698b
tree67655ef8a25b6239a8b9a9204e9de88a39bd0bd0
parentd098e45eed6b663ffd7d6cd06e1e16f85a781ee8
[RISCV][test] Update branch-relaxation.ll with update_llc_test_checks.py [NFC]

Update `llvm/test/CodeGen/RISCV/branch-relaxation.ll` with
`update_llc_test_checks.py`, according to
https://reviews.llvm.org/D130560#3746417:

>>! In D130560#3746417, @luismarques wrote:
>>>! In 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.

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D132625
llvm/test/CodeGen/RISCV/branch-relaxation.ll