[PATCH] D52977: [RISCV] Introduce codegen patterns for instructions introduced in RV64I
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 25 06:04:41 PDT 2018
asb updated this revision to Diff 171075.
asb added a comment.
Updated to fix a PatFrags-related assertion and to add exhaustive testing for the *W instruction patterns. Although verbose, these tests have shown their worth by 1) identifying a missing pattern which I've now added and 2) flagging a few cases where codegen could be improved in future.
https://reviews.llvm.org/D52977
Files:
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
lib/Target/RISCV/RISCVInstrInfo.td
test/CodeGen/RISCV/alu16.ll
test/CodeGen/RISCV/alu32.ll
test/CodeGen/RISCV/alu64.ll
test/CodeGen/RISCV/alu8.ll
test/CodeGen/RISCV/mem64.ll
test/CodeGen/RISCV/rv64i-exhaustive-w-insts.ll
test/CodeGen/RISCV/sext-zext-trunc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52977.171075.patch
Type: text/x-patch
Size: 94869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181025/a4d85489/attachment-0001.bin>
More information about the llvm-commits
mailing list