[PATCH] D117465: [RISCV] Add patterns to MIR sign-extension removal pass.
Mohammed Nurul Hoque via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 17 09:47:58 PST 2022
mohammed-nurulhoque updated this revision to Diff 400594.
mohammed-nurulhoque added a comment.
Noticed one of my patterns was redundant (merged)
Combined the independent if-statements with the switch-statement
Added tests where this patch removes sext.w that previously were not.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117465/new/
https://reviews.llvm.org/D117465
Files:
llvm/lib/Target/RISCV/RISCVSExtWRemoval.cpp
llvm/test/CodeGen/RISCV/sextw-removal.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117465.400594.patch
Type: text/x-patch
Size: 6022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220117/0080bdf2/attachment.bin>
More information about the llvm-commits
mailing list