[PATCH] D71127: [ARM] Add custom strict fp conversion lowering when non-strict is custom

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 09:25:28 PST 2019


john.brawn created this revision.
john.brawn added reviewers: dmgreen, olista01, simon_tatham.
john.brawn added a project: LLVM.
Herald added subscribers: pengfei, hiraditya, kristof.beyls.

We have custom lowering for operations converting to/from floating-point types when we don't have hardware support for those types, and this doesn't interact well with the target-independent legalization of the strict versions of these operations. Fix this by adding similar custom lowering of the strict versions.

This fixes the last of the assertion failures in the CodeGen/ARM/fp-intrinsics test, with the remaining failures due to poor instruction selection.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71127

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71127.232585.patch
Type: text/x-patch
Size: 6973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191206/48996ac5/attachment.bin>


More information about the llvm-commits mailing list