[PATCH] D34818: [Hexagon] Emit lookup tables in text section based on a flag

Sumanth Gundapaneni via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 10:17:42 PDT 2017


sgundapa created this revision.

The flag "-hexagon-emit-lut-text" (defaulted to false) is added to decide
on where to keep the switch generated lookup table.


Repository:
  rL LLVM

https://reviews.llvm.org/D34818

Files:
  lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  lib/Target/Hexagon/HexagonTargetObjectFile.h
  test/CodeGen/Hexagon/switch-lut-explicit-section.ll
  test/CodeGen/Hexagon/switch-lut-function-section.ll
  test/CodeGen/Hexagon/switch-lut-multiple-functions.ll
  test/CodeGen/Hexagon/switch-lut-text-section.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34818.104675.patch
Type: text/x-patch
Size: 11596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170629/13bbea74/attachment.bin>


More information about the llvm-commits mailing list