diff --git a/llvm/lib/Transforms/Scalar/GVNHoist.cpp b/llvm/lib/Transforms/Scalar/GVNHoist.cpp index c87e41484b13..a343fb75900a 100644 --- a/llvm/lib/Transforms/Scalar/GVNHoist.cpp +++ b/llvm/lib/Transforms/Scalar/GVNHoist.cpp @@ -1168,6 +1168,7 @@ public: AU.addPreserved(); AU.addPreserved(); AU.addPreserved(); + AU.addPreserved(); } };