[all-commits] [llvm/llvm-project] 608161: [InstCombine][Analysis] Move getFCmpCode and getPr...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Mar 3 09:33:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 608161225ef1b8d08973188f3162db9363455486
      https://github.com/llvm/llvm-project/commit/608161225ef1b8d08973188f3162db9363455486
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-03-03 (Thu, 03 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/CmpInstAnalysis.h
    M llvm/lib/Analysis/CmpInstAnalysis.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine][Analysis] Move getFCmpCode and getPredForFCmpCode to CmpInstAnalysis. NFC

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

I think InstCombine is currently the only user of both.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D120754




More information about the All-commits mailing list