Skip to content
  • Benjamin Kramer's avatar
    post-ra-sched: Replace a std::set of regs with a bitvector. · 21974b1f
    Benjamin Kramer authored
    Assuming that a single std::set node adds 3 control words, a bitvector
    can store (3*8+4)*8=224 registers in the allocated memory of a single
    element in the std::set (x86_64). Also we don't have to call malloc
    for every register added.
    
    llvm-svn: 151269
    21974b1f
Loading