The similar getICmpCode and getPredForICmpCode are already there.
This moves FP for consistency.
I think InstCombine is currently the only user of both.
Paths
| Differential D120754
[InstCombine][Analysis] Move getFCmpCode and getPredForFCmpCode to CmpInstAnalysis. NFC ClosedPublic Authored by craig.topper on Mar 1 2022, 10:42 AM.
Details Summary The similar getICmpCode and getPredForICmpCode are already there. I think InstCombine is currently the only user of both.
Diff Detail
Unit TestsFailed Event TimelineComment Actions LGTM - with one minor formatting query
This revision is now accepted and ready to land.Mar 3 2022, 2:11 AM This revision was landed with ongoing or failed builds.Mar 3 2022, 9:33 AM Closed by commit rG608161225ef1: [InstCombine][Analysis] Move getFCmpCode and getPredForFCmpCode to… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 412161 llvm/include/llvm/Analysis/CmpInstAnalysis.h
llvm/lib/Analysis/CmpInstAnalysis.cpp
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
|
clang-format not found in user’s local PATH; not linting file.