Skip to content
Commit 818e1167 authored by Chad Rosier's avatar Chad Rosier
Browse files

When pattern matching during instruction selection make sure shl x,1 is not

converted to add x,x if x is a undef.  add undef, undef does not guarantee
that the resulting low order bit is zero.
Fixes <rdar://problem/9453156> and <rdar://problem/9487392>.

llvm-svn: 133022
parent 1bf96ac6
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