OSDN Git Service

[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)
commite9fdaa1bbb4e3cd73e6043332267b9f6ff1e23b7
tree6894ac29765bbf0aff7374d6507a7567451e0f4f
parent56a90b623ffa9147d903ec9c3bd9da2be9feda69
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285267 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/no-ext-with-count-zeros.ll [new file with mode: 0644]