diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-05-04 19:11:05 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-05-04 19:11:05 +0000 |
commit | fecf095292991bdf9396fec474011446107f9813 (patch) | |
tree | 18bba5717914b56ece8eb57ad8c66f518e5dabfd /lib/Target/PowerPC/PPC64ISelPattern.cpp | |
parent | 693787a5ec14eb523a9c4a7653a34f1ff7df7f3e (diff) |
Make promoteOp work for CT*
Proof?
ubyte %bar(ubyte %x) {
entry:
%tmp.1 = call ubyte %llvm.ctlz( ubyte %x )
ret ubyte %tmp.1
}
==>
zapnot $16,1,$0
CTLZ $0,$0
subq $0,56,$0
zapnot $0,1,$0
ret $31,($26),1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC64ISelPattern.cpp')
0 files changed, 0 insertions, 0 deletions