RSSAmplifier

artagnon.com · Mar 24, 2016

Inside a register allocator

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

We are going to be discussing LLVM's Fast Register Allocator: you might like to open RegAllocFast.cpp and refer to it as we go through the article. FastRegAlloc allocates linearly, going through instructions and their operands in order. It uses PhysRegState to keep track of the state of various physical registers: they can be 0 ( regDisabled ), 1 ( regFree ), 2 ( regReserved ), or a virtual…

Read on compilers/regalloc

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.