[llvm] [RISCV][NFC] Pass MCSubtargetInfo instead of FeatureBitset in RISCVMatInt (PR #71770)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 22:08:42 PST 2023


wangpc-pp wrote:

> How does hasFeatures reduce indirection? We have another layer of data structure isn't that more indirection?

Oh I mean the name `hasFeature` is more descriptive and the caller of `RISCVMatInt` have no need to call `getFeatureBits()`.

https://github.com/llvm/llvm-project/pull/71770


More information about the llvm-commits mailing list