[llvm] [RISCV] Consistently use RISCVSubtarget::is64Bit() instead of isRV32/isRV64. (PR #223038)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 17:51:04 PDT 2026


topperc wrote:

> > Maybe we should consider removing is64Bit(), but right now I think we should be consistent.
> 
> I think you meant `is32Bit()`.

No, I meant is64bit(). There is no is32Bit(). We have is64Bit, isRV32 and isRV64. Using RV32 and/or RV64 seems like the more natural name. is64Bit is bit of a historical artifact. If we support RV128 someday, I don't think I'd suggest is128Bit().

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


More information about the llvm-commits mailing list