diff options
| author | wangpc <wangpengcheng.pp@bytedance.com> | 2023-08-21 18:56:18 +0800 |
|---|---|---|
| committer | wangpc <wangpengcheng.pp@bytedance.com> | 2023-08-21 18:59:52 +0800 |
| commit | dc60003ec8b2faf595b528a39f64b697a589da06 (patch) | |
| tree | 810b18efad08d4512f09fe8e11192c4f3f8e0721 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | a3b11ce78680ef39e4dfbc72085ae3e1814e3cba (diff) | |
[RISCV] Support global address as inline asm memory operand of `m`
In D146245, we have supported lowering inline asm `m` with offset
to `register+imm`, but we didn't handle the case that the offset
is the low part of global address.
This patch will emit `%lo(g)` when `g` is a global address.
Fixes #64656
Reviewed By: asb
Differential Revision: https://reviews.llvm.org/D157839
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
