[PATCH] D116168: [NFC] Method for evaluation of FCmpInst for constant operands
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 22 08:02:52 PST 2021
sepavloff created this revision.
sepavloff added reviewers: spatel, kpn, craig.topper, nikic.
Herald added subscribers: dexonsmith, hiraditya.
sepavloff requested review of this revision.
Herald added a project: LLVM.
New method `FCmpInst::compare` is added, which evaluates the given
compare predicate for constant operands. Interface is made similar to
`ICmpInst::compare`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116168
Files:
llvm/include/llvm/IR/Instructions.h
llvm/lib/IR/ConstantFold.cpp
llvm/lib/IR/Instructions.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116168.395872.patch
Type: text/x-patch
Size: 5138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211222/e246d1ba/attachment.bin>
More information about the llvm-commits
mailing list