[PATCH] D70550: [LegalizeTypes] Mutate strict float operations to non-strict when softening

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 10:32:22 PST 2019


john.brawn created this revision.
john.brawn added reviewers: craig.topper, uweigand, kpn, andrew.w.kaylor, cameron.mcinally.
john.brawn added a project: LLVM.
Herald added a subscriber: hiraditya.

Currently if a strict float operation is softened we get an assertion failure due to strict float operations not being handled. Fix this in the simplest way be first converting to the non-strict version of the operation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70550

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  llvm/test/CodeGen/ARM/fp-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70550.230484.patch
Type: text/x-patch
Size: 23179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191121/196e5975/attachment.bin>


More information about the llvm-commits mailing list