[all-commits] [llvm/llvm-project] b83aa8: [DAG] computeOverflowForUnsignedAdd - use getMaxVa...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat May 6 11:46:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b83aa8bc75789c0df988dedb9474aaee84ef4bb4
https://github.com/llvm/llvm-project/commit/b83aa8bc75789c0df988dedb9474aaee84ef4bb4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-05-06 (Sat, 06 May 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] computeOverflowForUnsignedAdd - use getMaxValue().ult(2) to detect 0/1 values. NFCI.
More information about the All-commits
mailing list