[all-commits] [llvm/llvm-project] 301754: [RISCV] Fix inline asm error for block address (#6...
Wang Pengcheng via All-commits
all-commits at lists.llvm.org
Mon Sep 18 20:46:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3017545e6337d37e947a18cb82cf50ec2e7eb3ba
https://github.com/llvm/llvm-project/commit/3017545e6337d37e947a18cb82cf50ec2e7eb3ba
Author: Wang Pengcheng <137158460+wangpc-pp at users.noreply.github.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
M llvm/test/CodeGen/RISCV/inline-asm-mem-constraint.ll
Log Message:
-----------
[RISCV] Fix inline asm error for block address (#66640)
After commit cedf2ea, `RISCVMergeBaseOffset` can handle `BlockAddress`
currently. But we didn't handle it in `PrintAsmMemoryOperand` so we
get `invalid operand in inline asm` error.
This patch fixes the error.
More information about the All-commits
mailing list