remove useless condition in assert in SelectionDAG.cpp
authorWang, Xin10 <xin10.wang@intel.com>
Tue, 18 Apr 2023 01:50:10 +0000 (21:50 -0400)
committerWang, Xin10 <xin10.wang@intel.com>
Tue, 18 Apr 2023 01:53:19 +0000 (21:53 -0400)
commitcf8d6844de3327ce2e1ff2e7f718b1e62f213fea
treeee94c5dc1dcde15481ef2613c10723925973d52f
parent773d9c36043204c284324bc37a1de769a7575034
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
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp