summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-03-23 02:24:07 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-03-23 02:24:07 +0000
commite58ca59cf4d94c91c60e067b207b9ee8d3dcd8af (patch)
treeb86af75efda4ac607388b55ab68648574dc0a07e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parent52ecd2d69b7a6c5c3de0167e00774e26ab7390a2 (diff)
downloadbcm5719-llvm-e58ca59cf4d94c91c60e067b207b9ee8d3dcd8af.tar.gz
bcm5719-llvm-e58ca59cf4d94c91c60e067b207b9ee8d3dcd8af.zip
[StatepointLowering] Schedule gc relocates before uniqueing them
Otherwise we can see an "unexpected" gc.relocate that we uniqued away. llvm-svn: 264127
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index 5e27a1c7147..c68f363ac60 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -732,11 +732,11 @@ public:
struct StatepointLoweringInfo {
/// Bases[i] is the base pointer for Ptrs[i]. Together they denote the set
/// of gc pointers this STATEPOINT has to relocate.
- ArrayRef<const Value *> Bases;
- ArrayRef<const Value *> Ptrs;
+ SmallVector<const Value *, 16> Bases;
+ SmallVector<const Value *, 16> Ptrs;
/// The set of gc.relocate calls associated with this gc.statepoint.
- ArrayRef<const GCRelocateInst *> GCRelocates;
+ SmallVector<const GCRelocateInst *, 16> GCRelocates;
/// The full list of gc arguments to the gc.statepoint being lowered.
ArrayRef<const Use> GCArgs;
OpenPOWER on IntegriCloud