Skip to content
  • Jakob Stoklund Olesen's avatar
    Avoid calling TRI->getAllocatableSet in RAFast. · 4b0bb839
    Jakob Stoklund Olesen authored
    When compiling a program with lots of small functions like
    483.xalancbmk, this makes RAFast 11% faster.
    
    Add some comments to clarify the difference between unallocatable and
    reserved registers. It's quite subtle.
    
    The fast register allocator depends on EFLAGS' not being allocatable on
    x86. That way it can completely avoid tracking liveness, and it won't
    mind when there are multiple uses of a single def.
    
    llvm-svn: 132514
    4b0bb839
Loading