diff options
-rw-r--r-- | llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp b/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp index f0a812b1aab..76897c5f68f 100644 --- a/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp +++ b/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp @@ -204,7 +204,6 @@ static bool isAddressExpression(const Value &V) { // // Precondition: V is an address expression. static SmallVector<Value *, 2> getPointerOperands(const Value &V) { - assert(isAddressExpression(V)); const Operator &Op = cast<Operator>(V); switch (Op.getOpcode()) { case Instruction::PHI: { |