[llvm] [CHERI][RISCV][AsmPrinter] Use pointer index size rather than pointer size in AsmPrinter constant lowering. (PR #220100)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 04:22:18 PDT 2026


================

----------------
jrtc27 wrote:

```suggestion
; RUN: sed 's/iXLen/i32/g' %s | llc -mtriple=riscv32 -target-abi=il32pc64 -mattr=+experimental-y | FileCheck %s --check-prefixes=CHECK,RV32
; RUN: sed 's/iXLen/i64/g' %s | llc -mtriple=riscv64 -target-abi=l64pc128 -mattr=+experimental-y | FileCheck %s --check-prefixes=CHECK,RV64
```
These suggestions got forgotten in the iXLen-ification, it seems?

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


More information about the llvm-commits mailing list