[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 08:48:44 PDT 2020


kamleshbhalui marked an inline comment as done.
kamleshbhalui added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/fp-strict.ll:2-5
+; RUN: llc -O1 -mtriple=riscv64 -mattr="+d" -verify-machineinstrs < %s \
+; RUN:   | FileCheck %s -check-prefix=RV64D
+; RUN: llc  -O1 -mtriple=riscv32 -mattr="+d" -verify-machineinstrs < %s \
+; RUN:   | FileCheck %s -check-prefix=RV32D
----------------
luismarques wrote:
> It's probably a good idea to use the hardfloat ABI, to cut down on the amount of GPR to FPR conversion instructions, etc.
thanks , will consider it in next diff update.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81391/new/

https://reviews.llvm.org/D81391





More information about the llvm-commits mailing list