Skip to content

Commit

Permalink
[Attributor][NFCI] Remove unneeded namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoerfert committed Jun 29, 2021
1 parent 457bd5c commit dcbe58d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dcbe58d

Please sign in to comment.