[PATCH] D120754: [InstCombine][Analysis] Move getFCmpCode and getPredForFCmpCode to CmpInstAnalysis. NFC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 10:42:04 PST 2022


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, lebedev.ri.
Herald added a subscriber: hiraditya.
craig.topper requested review of this revision.
Herald added a project: LLVM.

The similar getICmpCode and getPredForICmpCode are already there.
This moves FP for consistency.

I think InstCombine is currently the only user of both.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120754

Files:
  llvm/include/llvm/Analysis/CmpInstAnalysis.h
  llvm/lib/Analysis/CmpInstAnalysis.cpp
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120754.412161.patch
Type: text/x-patch
Size: 6223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220301/76d2d288/attachment.bin>


More information about the llvm-commits mailing list