[PATCH] D155044: [RISCV] Lower inline asm constraints vi, vj and vk.
Yeting Kuo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 23:28:33 PDT 2023
fakepaper56 created this revision.
fakepaper56 added reviewers: craig.topper, reames, frasercrmck, rogfer01, asb, lewis-revill.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
fakepaper56 requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.
This validate and lower arguments to inline asm nodes which have the constraints vi, vi and vk, with the following semantics (equivalent to GCC):
vi: vector 5-bit signed immediate.
vj: vector negated 5-bit signed immediate.
vk: vector 5-bit unsigned immediate.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155044
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/inline-asm-invalid.ll
llvm/test/CodeGen/RISCV/rvv/inline-asm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155044.539400.patch
Type: text/x-patch
Size: 5409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230712/f75b918f/attachment.bin>
More information about the llvm-commits
mailing list