[llvm-dev] Code compaction
Ilya Skapenko via llvm-dev
llvm-dev at lists.llvm.org
Fri Feb 24 12:24:08 PST 2017
Hello,
I decided to implement some of code compaction
<http://llvm.org/OpenProjects.html#compaction> passes. To start, I chose
basic block factoring out, suggested in article
<http://users.elis.ugent.be/~brdsutte/research/publications/2000TOPLASdebray.pdf>
(Section
3.3). Unlike the article, I implemented procedural abstraction for basic
blocks on LLVM-IR level (probably it was not the best choice) and faced a
problem: Is there any efficient way to determine, what size will
instruction take in some particular architecture?
Reference to the pass: https://github.com/skapix/codeCompaction
It is my first project, connected to LLVM infrastructure, I would
appreciate any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170224/0e5bb40c/attachment.html>
More information about the llvm-dev
mailing list