[all-commits] [llvm/llvm-project] e1bcf9: [RISC-V][MC] Reject x0 as the address/temporary re...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Sep 30 13:39:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1bcf98233962c26e3a82ae326fb2f8922e0635a
      https://github.com/llvm/llvm-project/commit/e1bcf98233962c26e3a82ae326fb2f8922e0635a
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:

  Log Message:
  -----------
  [RISC-V][MC] Reject x0 as the address/temporary register for load/store pseudos (#227512)

Using the zero register as the destination for integer load pseudos or as
the temporary register for floating-point load and store pseudos is
illegal since it is used to synthesize the target address, and using x0
would mean the auipc/qc.e.li result is ignored and we access an invalid
location.

This commit was created with the help of AI tools

Pull-Request: https://github.com/llvm/llvm-project/pull/227512



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