[PATCH] D64902: [InstSimplify] Rename SimplifyFPUnOp and SimplifyFPBinOp

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 23:06:35 PDT 2019


foad created this revision.
foad added a reviewer: spatel.
Herald added subscribers: zzheng, haicheng, hiraditya, eraman.
Herald added a project: LLVM.

SimplifyFPBinOp is a variant of SimplifyBinOp that lets you specify
fast math flags, but the name is misleading because both functions
can simplify both FP and non-FP ops. Instead, overload SimplifyBinOp
so that you can optionally specify fast math flags.

Likewise for SimplifyFPUnOp.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64902

Files:
  llvm/include/llvm/Analysis/InstructionSimplify.h
  llvm/lib/Analysis/InlineCost.cpp
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Analysis/LoopUnrollAnalyzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64902.210484.patch
Type: text/x-patch
Size: 6447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190718/fdffe02b/attachment.bin>


More information about the llvm-commits mailing list