[RISCV][test] Update branch-relaxation.ll with update_llc_test_checks.py [NFC]
authorZHU Zijia <piggynl@outlook.com>
Thu, 25 Aug 2022 08:52:20 +0000 (16:52 +0800)
committerZHU Zijia <piggynl@outlook.com>
Thu, 25 Aug 2022 08:54:48 +0000 (16:54 +0800)
commitc374789fba484af62a327a9337c7c9107461ee51
treedaf1ec714f99b1f513f65e56b73cf4a7a7cde857
parent811f958eef9a105a9ef7bafc36fae6ab17000e1a
[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.
llvm/test/CodeGen/RISCV/branch-relaxation.ll