Hi, guys,
sometimes it would be good if I could get the maximum instruction index from the set of live intervals. In my local version I have added this method to LiveIntervals:
/// Return the maximum index among the instruction indices.
inline unsigned getMaxInstrIndex() const {
return i2miMap_.size() * InstrSlots::NUM;
}
Is there something like this already in LiveIntervals? Do you guys think it could be added as a patch?
All the best,
Fernando
Hi, guys,
sometimes it would be good if I could get the maximum instruction
index from the set of live intervals. In my local version I have added
this method to LiveIntervals:
/// Return the maximum index among the instruction indices.
inline unsigned getMaxInstrIndex() const {
return i2miMap_.size() * InstrSlots::NUM;
}
Is there something like this already in LiveIntervals? Do you guys think
it could be added as a patch?
If there isn't a client for it in the public tree, it's better to keep it in your local tree for now.
Thanks,
Evan