[PATCH] D58939: [Subtarget] Merge ProcSched and ProcDesc arrays in MCSubtargetInfo into a single array.
    Craig Topper via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar  4 16:53:55 PST 2019
    
    
  
craig.topper created this revision.
craig.topper added reviewers: dblaikie, echristo, andreadb.
Herald added subscribers: jdoerfert, mgrang.
These arrays are both keyed by CPU name and go into the same tablegenerated file. Merge them so we only need to store keys once.
This also removes a weird space saving quirk where we used the ProcDesc.size() to create to build an ArrayRef for ProcSched.
https://reviews.llvm.org/D58939
Files:
  include/llvm/CodeGen/TargetSubtargetInfo.h
  include/llvm/MC/MCSubtargetInfo.h
  lib/CodeGen/TargetSubtargetInfo.cpp
  lib/MC/MCSubtargetInfo.cpp
  unittests/CodeGen/MachineInstrTest.cpp
  utils/TableGen/SubtargetEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58939.189235.patch
Type: text/x-patch
Size: 10399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190305/31f5ceac/attachment.bin>
    
    
More information about the llvm-commits
mailing list