[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
Wed May 16 02:02:18 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL332439: Emit a left-shift instead of a power-of-two multiply for jump-tables (authored by arichardson, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D45760

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45760.147014.patch
Type: text/x-patch
Size: 6058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180516/f2dd3611/attachment.bin>


More information about the llvm-commits mailing list