summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ProgrammersManual.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-11 05:13:56 +0000
committerChris Lattner <sabre@nondot.org>2006-10-11 05:13:56 +0000
commit6487854b3fb5f2caf2505906fc73b9027a0abef0 (patch)
tree8077c3495020e634df927b7821ae82054f92de14 /llvm/docs/ProgrammersManual.html
parenta821fe2da1ca1a725cfb7b75c3b970eb28fd7857 (diff)
downloadbcm5719-llvm-6487854b3fb5f2caf2505906fc73b9027a0abef0.tar.gz
bcm5719-llvm-6487854b3fb5f2caf2505906fc73b9027a0abef0.zip
Use cute tblgen tricks to make zap handling more powerful. Specifically,
when the dag combiner simplifies an and mask, notice this and allow those bits to be missing from the zap mask. This compiles Alpha/zapnot4.ll into: sll $16,3,$0 zapnot $0,3,$0 ret $31,($26),1 instead of: ldah $0,1($31) lda $0,-8($0) sll $16,3,$1 and $1,$0,$0 ret $31,($26),1 It would be *really* nice to replace the hunk of code in the AlphaISelDAGToDAG.cpp file that matches (and (srl (x, C), c2) into (SRL (ZAPNOTi)) with a similar pattern, but I've spent enough time poking at alpha. Make andrew will do this. llvm-svn: 30875
Diffstat (limited to 'llvm/docs/ProgrammersManual.html')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud