This revision was automatically updated to reflect the committed changes.
Closed by commit rGb49337bbb9de: [RISCV] [1/2] Add IR intrinsic for Zbp
extension (authored by LevyHsu, committed by craig.topper).
Changed prior to commit:
https://reviews.llvm.org/D100830?vs=339150&id=339818#toc
Reposi
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100830/new/
https://reviews.llvm.org/D100830
___
LevyHsu updated this revision to Diff 339150.
LevyHsu added a comment.
Fix format in RISCVTargetLowering::LowerINTRINSIC_WO_CHAIN
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100830/new/
https://reviews.llvm.org/D100830
Files:
clang/include/cla
LevyHsu updated this revision to Diff 339138.
LevyHsu added a comment.
1. llvm/lib/Target/RISCV/RISCVISelLowering.cpp
- Fix format issue with clang-format
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100830/new/
https://reviews.llvm.org/D100830
LevyHsu updated this revision to Diff 339105.
LevyHsu marked 6 inline comments as done.
LevyHsu added a comment.
1. clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbp.c
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbp.c
llvm/test/MC/RISCV/rv32b-aliases-valid.s
llvm/test/MC/RISCV/rv64b-alias
LevyHsu updated this revision to Diff 339086.
LevyHsu added a comment.
Change Log:
1. llvm/lib/Target/RISCV/RISCVInstrInfoB.td
- Aligned SDNode def for shflw/unshfl/unshflw
- Reordered def : PatGprImm;
- Merged Pat def when Predicates = [HasStdExtZbp]
2. llvm/test/CodeGen/RISCV/rv32zbp-int
craig.topper added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoB.td:33
def riscv_shfl : SDNode<"RISCVISD::SHFL", SDTIntBinOp>;
+def riscv_shflw : SDNode<"RISCVISD::SHFLW", SDT_RISCVIntBinOpW>;
+def riscv_unshfl : SDNode<"RISCVISD::UNSHFL", SDTInt
LevyHsu created this revision.
LevyHsu added reviewers: craig.topper, jrtc27, kito-cheng, asb, Jim.
LevyHsu added projects: clang, LLVM.
Herald added subscribers: vkmr, frasercrmck, evandro, luismarques, apazos,
sameer.abuasal, s.egerton, benna, psnobl, jocewei, PkmX, the_o, brucehoult,
MartinMos