[PATCH] D132839: [RISCV] Optimization for using compressed beqz and bnez PR#56391
Tetyushkin Ivan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 5 06:41:42 PDT 2022
ita-sc added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/compress-opt-branch.ll:5
+; choosen.
+;
+; RUN: cat %s | sed 's/CMPCOND/eq/g' | sed 's/RESBRNORMAL/bne/g' | \
----------------
liaolucy wrote:
> The testcase should be updated with this script, https://github.com/llvm/llvm-project/blob/main/llvm/utils/update_llc_test_checks.py. ignore if already used
Hi
Could you please add some information about it?
I tried to do it, but looks like this script doesn't support pattern:
llc | llvm-objdump | FileCheck
as expects llvm-objdump to be llc...
I tried to separate it, but pattern:
llc | llvm-objdump > file
cat file | FileCheck
failed too with message: "Skipping non-FileChecked RUN line".
But I need to update result with llvm-objdump to check for compressed instructions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132839/new/
https://reviews.llvm.org/D132839
More information about the llvm-commits
mailing list