New method FCmpInst::compare is added, which evaluates the given
compare predicate for constant operands. Interface is made similar to
ICmpInst::compare.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG
llvm/lib/IR/ConstantFold.cpp | ||
---|---|---|
1804–1805 | It's pretty weird that this function accepts the predicate as unsigned short. Would be great to switch it to CmpInst::Predicate (separately). |
It's pretty weird that this function accepts the predicate as unsigned short. Would be great to switch it to CmpInst::Predicate (separately).