mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
More dead code removal (using -Wunreachable-code)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -91,8 +91,6 @@ static Value *GetPointerOperand(Value *I) {
|
||||
if (StoreInst *i = dyn_cast<StoreInst>(I))
|
||||
return i->getPointerOperand();
|
||||
llvm_unreachable("Value is no load or store instruction!");
|
||||
// Never reached.
|
||||
return 0;
|
||||
}
|
||||
|
||||
static AliasAnalysis::AliasResult UnderlyingObjectsAlias(AliasAnalysis *AA,
|
||||
|
Reference in New Issue
Block a user