Use a set in getReqFeatures() in RISCVCompressInstEmitter instead of a map
because the index we save is not needed.
This also fixes bug 41666.
| Paths 
 |  Differential  D61412  
 [RISCV] Replace map with set in getReqFeatures ClosedPublic Authored by sabuasal on May 1 2019, 4:19 PM. 
Details Summary Use a set in getReqFeatures() in RISCVCompressInstEmitter instead of a map This also fixes bug 41666. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.May 2 2019, 11:51 PM Comment Actions Hi @sabuasal - are you happy to commit this? (Nick's suggestion to add #include <set> is of course a good one too). Closed by commit rL362968:  [RISCV] Replace map with set in getReqFeatures (authored by sabuasal).  ·  Explain WhyJun 10 2019, 10:14 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 203858 llvm/trunk/utils/TableGen/RISCVCompressInstEmitter.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||