[PATCH] D45760: Emit a left-shift instead of a power-of-two multiply for jump-tables

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 15 08:26:49 PDT 2018


arichardson updated this revision to Diff 146840.
arichardson marked an inline comment as done.
arichardson edited the summary of this revision.
arichardson added a comment.

Address review comment


Repository:
  rL LLVM

https://reviews.llvm.org/D45760

Files:
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  test/CodeGen/MSP430/jumptable.ll
  test/CodeGen/Mips/2010-07-20-Switch.ll
  test/CodeGen/Mips/indirect-jump-hazard/jumptables.ll
  test/CodeGen/Mips/jump-table-mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45760.146840.patch
Type: text/x-patch
Size: 5867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180515/1b782d8c/attachment.bin>


More information about the llvm-commits mailing list