diff --git a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp index 5bcdf636ca1d78..78c9a6b1ac1a52 100644 --- a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp +++ b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp @@ -141,8 +141,6 @@ PIPE_OPERATOR(AAFunctionReachability) #undef PIPE_OPERATOR } // namespace llvm -namespace { - /// Get pointer operand of memory accessing instruction. If \p I is /// not a memory accessing instruction, return nullptr. If \p AllowVolatile, /// is set to false and the instruction is volatile, return nullptr. @@ -6468,8 +6466,6 @@ void AAMemoryBehaviorFloating::analyzeUseIn(Attributor &A, const Use *U, removeAssumedBits(NO_WRITES); } -} // namespace - /// -------------------- Memory Locations Attributes --------------------------- /// Includes read-none, argmemonly, inaccessiblememonly, /// inaccessiblememorargmemonly