Skip to content
Unverified Commit 9f2fc88b authored by Yingwei Zheng's avatar Yingwei Zheng Committed by GitHub
Browse files

[ValueTracking] Simplify uaddo pattern (#65910)

This patch simplifies the overflow check of unsigned addition.

`a + b <u a` implies `a + b <u b`
`a + b >=u a` implies `a + b >=u b`

Alive2: https://alive2.llvm.org/ce/z/H8oK8n
Fixes #65863.
parent 4b4d3832
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment