[all-commits] [llvm/llvm-project] d86e2c: [NFC] Method for evaluation of FCmpInst for consta...
Serge Pavlov via All-commits
all-commits at lists.llvm.org
Sat Dec 25 03:22:19 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d86e2cc2e37c9051a5cf5a4b9b3ae4b9a961ef11
https://github.com/llvm/llvm-project/commit/d86e2cc2e37c9051a5cf5a4b9b3ae4b9a961ef11
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2021-12-25 (Sat, 25 Dec 2021)
Changed paths:
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[NFC] Method for evaluation of FCmpInst for constant operands
New method `FCmpInst::compare` is added, which evaluates the given
compare predicate for constant operands. Interface is made similar to
`ICmpInst::compare`.
Differential Revision: https://reviews.llvm.org/D116168
More information about the All-commits
mailing list