diff options
| author | wanglei <wanglei@loongson.cn> | 2022-10-21 16:35:23 +0800 |
|---|---|---|
| committer | Weining Lu <luweining@loongson.cn> | 2022-10-21 17:01:46 +0800 |
| commit | 67902920628f889cdef402bb0e8ca7a3df51e25f (patch) | |
| tree | 3194fa41fffb49f1bfd412f14378edfd124bc690 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | befb731be64a60b97f857d18eaa40d68f8ba792d (diff) | |
[LoongArch] Modify ParserMethod for the simm26_b operand type
Modify the ParserMethod of `simm26_b` operand type to `parseImmediate`.
Before that, for the `simm26_b` operand type, the same ParserMethod
was used as `simm26_bl`. When using the internal assembler to process
the blockaddress with `asm` instruction, the wrong blockaddress symbol
would be generated due to the call to the `getOrCreateSymbol()`
interface.
Differential Revision: https://reviews.llvm.org/D136073
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
