[all-commits] [llvm/llvm-project] cf8d68: remove useless condition in assert in SelectionDAG...

XinWang10 via All-commits all-commits at lists.llvm.org
Mon Apr 17 18:54:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf8d6844de3327ce2e1ff2e7f718b1e62f213fea
      https://github.com/llvm/llvm-project/commit/cf8d6844de3327ce2e1ff2e7f718b1e62f213fea
  Author: Wang, Xin10 <xin10.wang at intel.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

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

  Log Message:
  -----------
  remove useless condition in assert in SelectionDAG.cpp

The condition Opcode <= std::numeric_limits<int>::max() will
always be true here.

Reviewed By: skan

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




More information about the All-commits mailing list