[llvm-dev] Code compaction
Ilya Skapenko via llvm-dev
llvm-dev at lists.llvm.org
Fri Feb 24 12:24:08 PST 2017
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
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...
More information about the llvm-dev