summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-04-15 03:47:33 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-04-15 03:47:33 +0000
commit67aba79b74b0fd887c0cf2359f23eb2283a89782 (patch)
treea267072941ee9cecec72d051544c9505db2bdc5c /llvm/lib/CodeGen/ELFWriter.cpp
parentf43481df34d156bd05634b594f7c7614559a2a34 (diff)
downloadbcm5719-llvm-67aba79b74b0fd887c0cf2359f23eb2283a89782.tar.gz
bcm5719-llvm-67aba79b74b0fd887c0cf2359f23eb2283a89782.zip
IRgen: (Reapply 101222, with fixes) Move EmitStoreThroughBitfieldLValue to use new CGBitfieldInfo::AccessInfo decomposition, instead of computing the access policy itself.
- Sadly, this doesn't seem to give any .ll size win so far. It is possible to make this routine significantly smarter & avoid various shifting, masking, and zext/sext, but I'm not really convinced it is worth it. It is tricky, and this is really instcombine's job. - No intended functionality change; the test case is just to increase coverage & serves as a demo file, it worked before this commit. The new fixes from r101222 are: 1. The shift to the target position needs to occur after the value is extended to the correct size. This broke Clang bootstrap, among other things no doubt. 2. Swap the order of arguments to OR, to get a tad more constant folding. llvm-svn: 101339
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud