[PATCH] D68857: [X86] Add strict fp support for operations of X87 instructions

LiuChen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 20:38:23 PST 2019


LiuChen3 updated this revision to Diff 230999.
LiuChen3 added a comment.

Rebase.
STRICT_FP_ROUND has been set as custom so I remove setting it as legal. When entering the custom processing function, if the operand type is legal,the function behaves the same as setOperationAction(ISD:STRICT_FP_ROUND, TYPE, legal)
Modify the test case. Since we do not disable sse, we can pass float-pointer value by register instead of passing by pointer.


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

https://reviews.llvm.org/D68857

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86InstrFPStack.td
  llvm/test/CodeGen/X86/fp-strict-scalar.ll
  llvm/test/CodeGen/X86/fp80-strict-scalar.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68857.230999.patch
Type: text/x-patch
Size: 14462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191126/9630f843/attachment.bin>


More information about the llvm-commits mailing list