[PATCH] D69562: Mapping of FP operations to constrained intrinsics

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 06:25:14 PDT 2019


sepavloff created this revision.
sepavloff added reviewers: andrew.w.kaylor, kpn.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
sepavloff added a parent revision: D69552: Move floating point related entities to namespace level.

This change adds new function 'getConstainedIntrinsic', which for any
gived instruction returns corresponding constrained intrinsic, if the
instruction involves floating point operation. For other instructions,
including constrained intrinsics the function returns zero.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69562

Files:
  llvm/include/llvm/IR/FloatingPoint.h
  llvm/lib/IR/FloatingPoint.cpp
  llvm/unittests/IR/InstructionsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69562.226886.patch
Type: text/x-patch
Size: 6705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191029/651838ef/attachment.bin>


More information about the llvm-commits mailing list