[PowerPC] - No SExt/ZExt needed for count trailing zeros
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 27 Oct 2016 05:17:58 +0000 (05:17 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 27 Oct 2016 05:17:58 +0000 (05:17 +0000)
commit32b5fed6397c0216e713bcff081f772515b783ea
treee5acfe69389a7a605c5647cef55a9ebe7264f2e2
parentf469cb9045d1cd2b66e080462f472ba47d913d3f
[PowerPC] - No SExt/ZExt needed for count trailing zeros

This patch corresponds to review:
https://reviews.llvm.org/D25896

It just eliminates the redundant ZExt after a count trailing zeros instruction.

llvm-svn: 285267
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/test/CodeGen/PowerPC/no-ext-with-count-zeros.ll [new file with mode: 0644]