[PATCH] D158062: [RISCV] Teach RISCVMergeBaseOffset to handle inline asm
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 16 10:27:09 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp:398
+ }
+ case RISCV::INLINEASM: {
+ unsigned NumOps = 0;
----------------
What about INLINEASM_BR?
================
Comment at: llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp:427
+ CommonOffset = Offset;
+ InlineAsmMemoryOpIndexes.push_back(I + 1);
+ }
----------------
If there are multiple INLINE_ASM instructions, would InlineAsmMemoryOpIndexes need to know which instruction the index belong to?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158062/new/
https://reviews.llvm.org/D158062
More information about the llvm-commits
mailing list