summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SmallPtrSet.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-01-05 18:52:29 +0000
committerHal Finkel <hfinkel@anl.gov>2015-01-05 18:52:29 +0000
commit49557f1b4293d78c1df9ef8553ef84af96b1a2ec (patch)
tree7f662fde658d19a7c40d6ffc145d1309712c75e0 /llvm/lib/Support/SmallPtrSet.cpp
parent58d4c5a9c0a58c519e1a037f626d3973766032db (diff)
downloadbcm5719-llvm-49557f1b4293d78c1df9ef8553ef84af96b1a2ec.tar.gz
bcm5719-llvm-49557f1b4293d78c1df9ef8553ef84af96b1a2ec.zip
[PowerPC] Remove zexts after i32 ctlz
The 64-bit semantics of cntlzw are not special, the 32-bit population count is stored as a 64-bit value in the range [0,32]. As a result, it is always zero extended, and it can be added to the PPCISelDAGToDAG peephole optimization as a frontier instruction for the removal of unnecessary zero extensions. llvm-svn: 225192
Diffstat (limited to 'llvm/lib/Support/SmallPtrSet.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud