summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAsmPrinter.h
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2016-09-23 13:35:43 +0000
committerJames Molloy <james.molloy@arm.com>2016-09-23 13:35:43 +0000
commit85124c76fc5407e43c73466f6950dbee8766d4c2 (patch)
tree8850638f8d9267dcb549ac6b42ee89f7a7bf36a9 /llvm/lib/Target/ARM/ARMAsmPrinter.h
parent4ebc562052d82bd51179703a4f9e557ced817973 (diff)
downloadbcm5719-llvm-85124c76fc5407e43c73466f6950dbee8766d4c2.tar.gz
bcm5719-llvm-85124c76fc5407e43c73466f6950dbee8766d4c2.zip
Revert "[ARM] Promote small global constants to constant pools"
This reverts commit r282241. It caused http://lab.llvm.org:8011/builders/clang-native-arm-lnt/builds/19882. llvm-svn: 282249
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.h')
-rw-r--r--llvm/lib/Target/ARM/ARMAsmPrinter.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.h b/llvm/lib/Target/ARM/ARMAsmPrinter.h
index 9eafde55d4d..fe4a2bfca35 100644
--- a/llvm/lib/Target/ARM/ARMAsmPrinter.h
+++ b/llvm/lib/Target/ARM/ARMAsmPrinter.h
@@ -56,16 +56,6 @@ class LLVM_LIBRARY_VISIBILITY ARMAsmPrinter : public AsmPrinter {
/// -1 if uninitialized, 0 if conflicting goals
int OptimizationGoals;
- /// List of globals that have had their storage promoted to a constant
- /// pool. This lives between calls to runOnMachineFunction and collects
- /// data from every MachineFunction. It is used during doFinalization
- /// when all non-function globals are emitted.
- SmallPtrSet<const GlobalVariable*,2> PromotedGlobals;
- /// Set of globals in PromotedGlobals that we've emitted labels for.
- /// We need to emit labels even for promoted globals so that DWARF
- /// debug info can link properly.
- SmallPtrSet<const GlobalVariable*,2> EmittedPromotedGlobalLabels;
-
public:
explicit ARMAsmPrinter(TargetMachine &TM,
std::unique_ptr<MCStreamer> Streamer);
@@ -100,8 +90,7 @@ public:
void EmitStartOfAsmFile(Module &M) override;
void EmitEndOfAsmFile(Module &M) override;
void EmitXXStructor(const DataLayout &DL, const Constant *CV) override;
- void EmitGlobalVariable(const GlobalVariable *GV) override;
-
+
// lowerOperand - Convert a MachineOperand into the equivalent MCOperand.
bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp);
OpenPOWER on IntegriCloud