[PATCH] Expand SimplifyCFG to convert certain simple switches to selects

Marcello Maggioni hayarms at gmail.com
Thu Jun 19 19:15:32 PDT 2014


Updated to apply without hunks after recent commits

http://reviews.llvm.org/D4219

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/SimplifyCFG/2014-06-19-SwitchToSelectBitPattern.ll
  test/Transforms/SimplifyCFG/2014-06-19-SwitchToSelectRange.ll
  test/Transforms/SimplifyCFG/2014-06-19-SwitchToSelectTwoCase.ll
  test/Transforms/SimplifyCFG/UnreachableEliminate.ll
  test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4219.10674.patch
Type: text/x-patch
Size: 21853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140620/250eddfd/attachment.bin>


More information about the llvm-commits mailing list