We assign indices sequentially for seen instructions, so we can just use
a vector and push back the seen instructions. No need for using a
DenseMap.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D53089
[LV] Use SmallVector instead of DenseMap in calculateRegisterUsage (NFC). ClosedPublic Authored by fhahn on Oct 10 2018, 10:12 AM.
Details Summary We assign indices sequentially for seen instructions, so we can just use
Diff Detail Event TimelineThis revision is now accepted and ready to land.Oct 10 2018, 10:16 AM Closed by commit rL344233: [LV] Use SmallVector instead of DenseMap in calculateRegisterUsage (NFC). (authored by fhahn). · Explain WhyOct 11 2018, 2:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 169033 lib/Transforms/Vectorize/LoopVectorize.cpp
|