[llvm] r257508 - Replace inherited constructor with an explicit one
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 12 11:27:59 PST 2016
Author: kparzysz
Date: Tue Jan 12 13:27:59 2016
New Revision: 257508
URL: http://llvm.org/viewvc/llvm-project?rev=257508&view=rev
Log:
Replace inherited constructor with an explicit one
Some bots failed when the inherited constructor was used.
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonRDFOpt.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonRDFOpt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonRDFOpt.cpp?rev=257508&r1=257507&r2=257508&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonRDFOpt.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonRDFOpt.cpp Tue Jan 12 13:27:59 2016
@@ -72,8 +72,8 @@ INITIALIZE_PASS_END(HexagonRDFOpt, "rdfo
struct HexagonDCE : public DeadCodeElimination {
- using DeadCodeElimination::DeadCodeElimination;
-
+ HexagonDCE(DataFlowGraph &G, MachineRegisterInfo &MRI)
+ : DeadCodeElimination(G, MRI) {}
bool rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove);
void removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum);
More information about the llvm-commits
mailing list