1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/lib/CodeGen/SelectionDAG
Andrew Lenharth 9282d00d4f 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

llvm-svn: 21691
2005-05-04 19:11:05 +00:00
..
LegalizeDAG.cpp Make promoteOp work for CT* 2005-05-04 19:11:05 +00:00
Makefile Change Library Names Not To Conflict With Others When Installed 2004-10-27 23:18:45 +00:00
SelectionDAG.cpp Implement count leading zeros (ctlz), count trailing zeros (cttz), and count 2005-05-03 17:19:30 +00:00
SelectionDAGISel.cpp Implement count leading zeros (ctlz), count trailing zeros (cttz), and count 2005-05-03 17:19:30 +00:00
SelectionDAGPrinter.cpp Convert tabs to spaces 2005-04-22 04:01:18 +00:00