Skip to content
Commit 749ef5f4 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

InstCombine: Make switch folding with equality compares more aggressive by...

InstCombine: Make switch folding with equality compares more aggressive by trying instsimplify on the arm where we know the compared value.

Stuff like "x == y ? y : x&y" now folds into "x&y".

llvm-svn: 132185
parent 34ef49dc
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