analysis 11% on kc++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29812
91177308-0d34-0410-b5e6-
96231b3b80d8
#ifndef LLVM_CODEGEN_LIVEINTERVAL_H
#define LLVM_CODEGEN_LIVEINTERVAL_H
+#include "llvm/ADT/SmallVector.h"
#include <iosfwd>
#include <vector>
#include <cassert>
/// register or value. This class also contains a bit of register allocator
/// state.
struct LiveInterval {
- typedef std::vector<LiveRange> Ranges;
+ typedef SmallVector<LiveRange,4> Ranges;
unsigned reg; // the register of this interval
float weight; // weight of this interval
Ranges ranges; // the ranges in which this register is live