[PATCH] D159406: [SelectionDAG] Generalise SelectionDAG::computeOverflowKind to support other opcodes

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 4 01:09:22 PDT 2023


RKSimon added a comment.

I'd recommend starting with removing the existing code at the bottom of visitMULO that handles SMULO/UMULO -> MUL conversion and replacing it with a willNotOverflowMul check.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159406/new/

https://reviews.llvm.org/D159406



More information about the llvm-commits mailing list