[PATCH] Switch to Select optimisations

Marcello Maggioni hayarms at gmail.com
Mon Sep 29 14:49:32 PDT 2014


I addressed all Hans comments with the exception of using a DenseMap instead of a SmallVector for the results and splitting the bit patterns in a separate patch for now.

http://reviews.llvm.org/D5525

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/SimplifyCFG/UnreachableEliminate.ll
  test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
  test/Transforms/SimplifyCFG/switch-to-select-bitpattern.ll
  test/Transforms/SimplifyCFG/switch-to-select-range.ll
  test/Transforms/SimplifyCFG/switch-to-select-two-case.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5525.14189.patch
Type: text/x-patch
Size: 22165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140929/b0cf0057/attachment.bin>


More information about the llvm-commits mailing list