[PATCH] D100830: [RISCV] [1/2] Add IR intrinsic for Zbp extension

LevyHsu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 20 02:15:06 PDT 2021


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, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
LevyHsu requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, MaskRay.

RV32/64:

  grev
  grevi
  gorc
  gorci
  shfl
  shfli
  unshfl
  unshfli

RV64 ONLY:

  grevw
  greviw
  gorcw
  gorciw
  shflw
  shfli     (For non-existing shfliw)
  unshfli   (For non-existing unshfliw)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100830

Files:
  clang/include/clang/Basic/BuiltinsRISCV.def
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbp.c
  clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbp.c
  llvm/include/llvm/IR/IntrinsicsRISCV.td
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/RISCV/RISCVInstrInfoB.td
  llvm/test/CodeGen/RISCV/rv32zbp-intrinsic.ll
  llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
  llvm/test/MC/RISCV/rv32b-aliases-valid.s
  llvm/test/MC/RISCV/rv64b-aliases-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100830.338777.patch
Type: text/x-patch
Size: 48830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210420/1bd7b0c9/attachment-0001.bin>


More information about the cfe-commits mailing list