Skip to content
Commit 8d25a7c3 authored by Duncan Sands's avatar Duncan Sands
Browse files

The most common simplification missed by instsimplify in unoptimized bitcode

is "X != 0 -> X" when X is a boolean.  This occurs a lot because of the way
llvm-gcc converts gcc's conditional expressions.  Add this, and a few other
similar transforms for completeness.

llvm-svn: 123372
parent 92adcac9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment