[all-commits] [llvm/llvm-project] a2239c: [CHERI][RISCV][AsmPrinter] Use pointer index size ...

Owen Anderson via All-commits all-commits at lists.llvm.org
Tue Sep 15 11:23:52 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2239cbf89c9c8187a6deb83423eafad44e4a6d1
      https://github.com/llvm/llvm-project/commit/a2239cbf89c9c8187a6deb83423eafad44e4a6d1
  Author: Owen Anderson <resistor at mac.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    A llvm/test/CodeGen/RISCV/cheri-global-cap-init.ll

  Log Message:
  -----------
  [CHERI][RISCV][AsmPrinter] Use pointer index size rather than pointer size in AsmPrinter constant lowering. (#220100)

This prevents a crash due to APInt width mismatches during
accumulateConstantOffset for CHERI targets.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list