diff options
author | James Molloy <james.molloy@arm.com> | 2016-09-12 16:18:23 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2016-09-12 16:18:23 +0000 |
commit | 3d06ff22b79d782760d9f5d44af88b2ba69830dc (patch) | |
tree | fe2a06d7c337f328515d04e26175c783760391c1 /llvm/lib/Target/ARM/ARMAsmPrinter.h | |
parent | 96cb94b2a9286f27dfb1de9dc8ba814f8958e177 (diff) | |
download | bcm5719-llvm-3d06ff22b79d782760d9f5d44af88b2ba69830dc.tar.gz bcm5719-llvm-3d06ff22b79d782760d9f5d44af88b2ba69830dc.zip |
Revert "[ARM] Promote small global constants to constant pools"
This reverts commit r281213. It made a bot go bang: http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/14625
llvm-svn: 281228
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMAsmPrinter.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.h b/llvm/lib/Target/ARM/ARMAsmPrinter.h index 30abdbc322a..97f5ca0ecbc 100644 --- a/llvm/lib/Target/ARM/ARMAsmPrinter.h +++ b/llvm/lib/Target/ARM/ARMAsmPrinter.h @@ -56,12 +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; - public: explicit ARMAsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer); @@ -96,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); |