summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSumanth Gundapaneni <sgundapa@codeaurora.org>2017-06-30 20:20:00 +0000
committerSumanth Gundapaneni <sgundapa@codeaurora.org>2017-06-30 20:20:00 +0000
commit19b74203b1bbe7e394d36a7713a84991abf6cc30 (patch)
tree4e25d305f78d6fea2bb4209ab88e433d18cf948b /llvm/lib
parentcf73758dc85f95ea0f6e71bd279b201eb8e5a0d9 (diff)
downloadbcm5719-llvm-19b74203b1bbe7e394d36a7713a84991abf6cc30.tar.gz
bcm5719-llvm-19b74203b1bbe7e394d36a7713a84991abf6cc30.zip
Revert "[Hexagon] Guard the generation of lookup table"
This reverts commit ae521f4192c3ed0202c047fec993cb59133dd1a0. Wrong commit message llvm-svn: 306871
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp9
-rw-r--r--llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp b/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
index 34df2ebcc52..4dacb150139 100644
--- a/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
@@ -49,10 +49,6 @@ static cl::opt<bool> TraceGVPlacement("trace-gv-placement",
cl::Hidden, cl::init(false),
cl::desc("Trace global value placement"));
-static cl::opt<bool>
- EmitJtInText("hexagon-emit-jt-text", cl::Hidden, cl::init(false),
- cl::desc("Emit hexagon jump tables in function section"));
-
// TraceGVPlacement controls messages for all builds. For builds with assertions
// (debug or release), messages are also controlled by the usual debug flags
// (e.g. -debug and -debug-only=globallayout)
@@ -260,11 +256,6 @@ unsigned HexagonTargetObjectFile::getSmallDataSize() const {
return SmallDataThreshold;
}
-bool HexagonTargetObjectFile::shouldPutJumpTableInFunctionSection(
- bool UsesLabelDifference, const Function &F) const {
- return EmitJtInText;
-}
-
/// Descends any type down to "elementary" components,
/// discovering the smallest addressable one.
/// If zero is returned, declaration will not be modified.
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h b/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
index 373d850b53b..58dff2b95e1 100644
--- a/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
+++ b/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
@@ -33,9 +33,6 @@ namespace llvm {
unsigned getSmallDataSize() const;
- bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference,
- const Function &F) const override;
-
private:
MCSectionELF *SmallDataSection;
MCSectionELF *SmallBSSSection;
OpenPOWER on IntegriCloud