Skip to content
Commit d78d9754 authored by Nate Begeman's avatar Nate Begeman
Browse files

Fix some code in the current node combining code, spotted when it was moved

over to DAGCombiner.cpp

1. Don't assume that SetCC returns i1 when folding (xor (setcc) constant)
2. Don't duplicate code in folding AND with AssertZext that is handled by
   MaskedValueIsZero

llvm-svn: 23196
parent 2504fe26
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