mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 13:21:43 +00:00
InferAddressSpaces: Remove redundant assert
This is just asserting all the operations are handled in the switch, which the unreachable already handles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301270 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ecbcab4f4
commit
e6991d24a1
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user