[PATCH] D81391: [RISC-V] Do not crash when using -ftrapping-math
kamlesh kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 07:05:30 PDT 2020
kamleshbhalui created this revision.
kamleshbhalui added reviewers: luismarques, asb.
Herald added subscribers: llvm-commits, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, MaskRay, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
Herald added a project: LLVM.
When using clang option -frapping-math, RISC-V backend crash.
This patch enable Lowering for strictp in riscv to get rid of crash.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81391
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVInstrInfoD.td
llvm/lib/Target/RISCV/RISCVInstrInfoF.td
llvm/test/CodeGen/RISCV/fp-strict.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81391.269209.patch
Type: text/x-patch
Size: 10865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200608/13d2b6c6/attachment.bin>
More information about the llvm-commits
mailing list