diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2015-01-05 18:52:29 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2015-01-05 18:52:29 +0000 |
| commit | 49557f1b4293d78c1df9ef8553ef84af96b1a2ec (patch) | |
| tree | 7f662fde658d19a7c40d6ffc145d1309712c75e0 /llvm/lib/Support/SmallPtrSet.cpp | |
| parent | 58d4c5a9c0a58c519e1a037f626d3973766032db (diff) | |
| download | bcm5719-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

