Skip to content
Commit cbfe41ac authored by Craig Topper's avatar Craig Topper
Browse files

[DAGCombiner] Avoid creating truncate nodes in (zext (and (load)))->(and...

[DAGCombiner] Avoid creating truncate nodes in (zext (and (load)))->(and (zextload)) fold until we know for sure we're going to need it. NFCI

The truncate is only needed if the load has additional users. It used to get passed to extendSetCCUses so was created early, but that's no longer the case.

llvm-svn: 324562
parent bf4ed426
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