summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorYunQiang Su <wzssyqa@gmail.com>2022-12-15 09:04:36 +0000
committerFangrui Song <i@maskray.me>2022-12-15 09:04:36 +0000
commit9739bb81aed490bfcbcbbac6970da8fb7232fd34 (patch)
tree3b4f0384d676f8ab17fb3971538186e257b8092d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent92619956eb27ef08dd24045307593fc3d7f78db0 (diff)
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 output `.nan 2008` and `.module fp=xx/64` before every function. `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/D138179
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions