Previously the alignment on the newly created switch table data was not set,
meaning that DataLayout::getPreferredAlignment was free to overalign
it to 16 bytes. This causes unnecessary code bloat.
Details
Details
Diff Detail
Diff Detail
Paths 
  |  Differential  D51800  
[SimpliftyCFG] Put an alignment on generated switch tables ClosedPublic Authored by dmgreen on Sep 7 2018, 10:11 AM. 
Details Summary Previously the alignment on the newly created switch table data was not set, 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 7 2018, 11:07 AM Closed by commit rL342039: [SimplifyCFG] Put an alignment on generated switch tables (authored by dmgreen).  ·  Explain WhySep 12 2018, 2:56 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 164453 lib/Transforms/Utils/SimplifyCFG.cpp
 test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||