[PATCH] D159406: [SelectionDAG] Generalise SelectionDAG::computeOverflowKind to support other opcodes
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 3 02:54:45 PDT 2023
RKSimon added a comment.
Now the tricky bit - hooking this into DAGCombiner and adding suitable testing.
visitMULO already has some specific case overflow detection code, so we can start by replacing it with a willNotOverflowMul test, similar to what visitADDO/visitSUBO do.
Make sure you create your diff with context: `git diff HEAD~1 -U999999 > mypatch.patch`
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