[PATCH] D99962: [FPEnv] EarlyCSE support for constrained intrinsics, default FP environment edition

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 08:21:06 PDT 2021


kpn created this revision.
kpn added reviewers: reames, fhahn, spatel.
Herald added subscribers: dexonsmith, hiraditya.
kpn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

EarlyCSE cannot distinguish between floating point instructions and constrained floating point intrinsics that are marked as running in the default FP environment. Said intrinsics are supposed to behave exactly the same as the regular FP instructions. Teach EarlyCSE to handle them in that case.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99962

Files:
  llvm/include/llvm/IR/IntrinsicInst.h
  llvm/lib/IR/IntrinsicInst.cpp
  llvm/lib/Transforms/Scalar/EarlyCSE.cpp
  llvm/test/Transforms/EarlyCSE/defaultfp-strictfp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99962.335514.patch
Type: text/x-patch
Size: 23855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210406/140e77a9/attachment.bin>


More information about the llvm-commits mailing list