[PATCH] D25691: [DAGCombiner] Add vector demanded elements support to computeKnownBits
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 18 03:12:47 PDT 2016
RKSimon updated this revision to Diff 74961.
RKSimon added a comment.
Added the asserts suggested by Eli.
Improved VECTOR_SHUFFLE demanded elts handling - as long as the shuffle mask element isn't UNDEF then we can use the input demanded elts. This might be too pessimistic and we should be able to ignore UNDEFs as long as we don't need the element.
I'll investigate the InstCombine version - I don't know as much about the value tracking code so it might take a little longer.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15752 bytes
Desc: not available
More information about the llvm-commits