The condition Opcode <= std::numeric_limits<int>::max() will
always be true here.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D148306
remove useless condition in assert in SelectionDAG.cpp ClosedPublic Authored by XinWang10 on Apr 14 2023, 12:27 AM.
Details Summary The condition Opcode <= std::numeric_limits<int>::max() will
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Apr 17 2023, 2:13 AM This revision was landed with ongoing or failed builds.Apr 17 2023, 6:54 PM Closed by commit rGcf8d6844de33: remove useless condition in assert in SelectionDAG.cpp (authored by XinWang10). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 514143 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
|
Should we use Opcode <= (unsigned)std::numeric_limits<int>::max()?