[all-commits] [llvm/llvm-project] adc697: [TargetLowering] Fix what look like copy/paste mis...

topperc via All-commits all-commits at lists.llvm.org
Mon Mar 2 14:14:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: adc69729ec85aea0a32e7bdf24e91e8f6178a38b
      https://github.com/llvm/llvm-project/commit/adc69729ec85aea0a32e7bdf24e91e8f6178a38b
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-03-02 (Mon, 02 Mar 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

  Log Message:
  -----------
  [TargetLowering] Fix what look like copy/paste mistakes in compare with infinity handling SimplifySetCC.

I expect that the isCondCodeLegal checks should match that CC of
the node that we're going to create.

Rewriting to a switch to minimize repeated mentions of the same
constants.




More information about the All-commits mailing list