forked from OSchip/llvm-project
[InferAddressSpaces] Fix fallthrough error
llvm-svn: 354580
This commit is contained in:
parent
dcaa939ab7
commit
fdf651ee8d
|
@ -221,6 +221,7 @@ static bool isAddressExpression(const Value &V) {
|
||||||
switch (Op.getOpcode()) {
|
switch (Op.getOpcode()) {
|
||||||
case Instruction::PHI:
|
case Instruction::PHI:
|
||||||
assert(Op.getType()->isPointerTy());
|
assert(Op.getType()->isPointerTy());
|
||||||
|
return true;
|
||||||
case Instruction::BitCast:
|
case Instruction::BitCast:
|
||||||
case Instruction::AddrSpaceCast:
|
case Instruction::AddrSpaceCast:
|
||||||
case Instruction::GetElementPtr:
|
case Instruction::GetElementPtr:
|
||||||
|
|
Loading…
Reference in New Issue