Skip to content
Commit 4efa9ff8 authored by David Majnemer's avatar David Majnemer
Browse files

InstSimplify: Simplify (sub 0, X) -> X if it's NUW

This is a generalization of the X - (0 - Y) -> X transform.

llvm-svn: 222611
parent 6fc2d813
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment