[PATCH] D112359: [RISCV] Unify depedency check and extension implication parsing logics
Yueh-Ting Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 23 03:18:49 PDT 2021
eopXD created this revision.
eopXD added reviewers: kito.cheng, craig.topper.
Herald added subscribers: achieveartificialintelligence, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
eopXD requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, MaskRay.
Herald added projects: clang, LLVM.
Originially there are two places that does parsing - `parseArchString` and
`parseFeatures`, it would be much clearer to extract implication into a
separate function and have both place to use it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112359
Files:
clang/test/CodeGen/RISCV/riscv-metadata.c
clang/test/CodeGen/RISCV/riscv32-ilp32-ilp32f-ilp32d-abi.c
clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.c
clang/test/CodeGen/RISCV/riscv32-ilp32f-ilp32d-abi.c
clang/test/CodeGen/RISCV/riscv64-lp64-lp64f-lp64d-abi.c
clang/test/CodeGen/RISCV/riscv64-lp64d-abi.c
clang/test/CodeGen/RISCV/riscv64-lp64f-lp64d-abi.c
clang/test/CodeGen/riscv32-ilp32d-abi.cpp
clang/test/Driver/riscv-arch.c
llvm/include/llvm/Support/RISCVISAInfo.h
llvm/lib/Support/RISCVISAInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112359.381718.patch
Type: text/x-patch
Size: 17243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211023/c09cd61d/attachment.bin>
More information about the llvm-commits
mailing list