aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/VirtRegMap.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-05-11 23:43:56 +0000
committerNate Begeman <natebegeman@mac.com>2005-05-11 23:43:56 +0000
commitd7c4a4a6c048d4174b8795598f50fd76c30731ed (patch)
tree85b97af7b609ee67259289a1f11a323be8fade78 /lib/CodeGen/VirtRegMap.h
parenta65640edd0d77400e3d9d1e1ae189c44fa0c2e34 (diff)
Necessary changes to codegen cttz efficiently on PowerPC
1. Teach LegalizeDAG how to better legalize CTTZ if the target doesn't have CTPOP, but does have CTLZ 2. Teach PPC32 how to do sub x, const -> add x, -const for valid consts 3. Teach PPC32 how to do and (xor a, -1) b -> andc b, a 4. Teach PPC32 that ISD::CTLZ -> PPC::CNTLZW git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.h')
0 files changed, 0 insertions, 0 deletions