Skip to content
Commit 4ce1dea8 authored by Nate Begeman's avatar Nate Begeman
Browse files

Add testcase for legalizing ISD::CTTZ efficiently. On PPC, ctlz(int) is

now codegen'd as this:

        addi r2, r3, -1
        andc r2, r2, r3
        cntlzw r2, r2
        subfic r3, r2, 32
        blr

llvm-svn: 21881
parent 99fa5bc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment