[PATCH] D69275: Add constrained int->FP intrinsics

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 12:10:41 PDT 2019


kpn created this revision.
kpn added reviewers: andrew.w.kaylor, craig.topper, hfinkel, mehdi_amini, aemerson, javed.absar, uweigand, kbarton, cameron.mcinally.
Herald added subscribers: llvm-commits, jdoerfert, hiraditya.
Herald added a project: LLVM.

This adds constrained intrinsics for the signed and unsigned conversions of integers to floating-point.

This does not touch any Custom lowering code so the results aren't ideal. Still, it's a start.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69275

Files:
  llvm/include/llvm/CodeGen/ISDOpcodes.h
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/include/llvm/CodeGen/SelectionDAGNodes.h
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/include/llvm/IR/IntrinsicInst.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/IR/IntrinsicInst.cpp
  llvm/test/CodeGen/X86/fp-intrinsics.ll
  llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
  llvm/test/Feature/fp-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69275.225933.patch
Type: text/x-patch
Size: 50594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191021/b988263a/attachment.bin>


More information about the llvm-commits mailing list