[PATCH] D34817: [SimplifyCFG] Update the name of switch generated lookup table.

Sumanth Gundapaneni via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 09:55:37 PDT 2017


sgundapa created this revision.

This patch appends the name of the function to the switch generated lookup
table. This will ease the visual debugging in identifying the function the table
is generated from.


Repository:
  rL LLVM

https://reviews.llvm.org/D34817

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/SimplifyCFG/X86/switch-covered-bug.ll
  test/Transforms/SimplifyCFG/X86/switch-table-bug.ll
  test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34817.104669.patch
Type: text/x-patch
Size: 9942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170629/11ebdefd/attachment.bin>


More information about the llvm-commits mailing list