aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorYunQiang Su <wzssyqa@gmail.com>2023-02-06 20:36:11 -0800
committerFangrui Song <i@maskray.me>2023-02-06 20:36:11 -0800
commitb4b95dee3140e7302d6889173386083978611a12 (patch)
treee0a17300809cb4772129287389de20b4e540e6b3 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent1c345c1873c388c964f567a0ef113c9bb7b6e458 (diff)
downloadllvm-b4b95dee3140e7302d6889173386083978611a12.zip
llvm-b4b95dee3140e7302d6889173386083978611a12.tar.gz
llvm-b4b95dee3140e7302d6889173386083978611a12.tar.bz2
MIPS: fix build from IR files, nan2008 and FpAbi
When we use llc or lld to compiler IR files, the features +nan2008 and +fpxx/+fp64 are not used. Thus wrong format files are produced. In IR files, the attributes are only set for function while not the whole compile units. So we extract the attributes from the first function and use it for the whole unit. isFPXXDefault: for o32, the FPXX should always be the default, no matter about the vendors. Of course some distributions with FP64 default enabled should be listed explicit. Let's add them in future if we know about one. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D140270
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions