mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Remove unused variable; NFC
llvm-svn: 327597
This commit is contained in:
parent
1e6a98aff9
commit
43c5d9b599
@ -77,7 +77,6 @@ static bool operandReferences(CallInst *CI, AllocaInst *Frame, AAResults &AA) {
|
||||
// call implies that the function does not references anything on the stack.
|
||||
static void removeTailCallAttribute(AllocaInst *Frame, AAResults &AA) {
|
||||
Function &F = *Frame->getFunction();
|
||||
MemoryLocation Mem(Frame);
|
||||
for (Instruction &I : instructions(F))
|
||||
if (auto *Call = dyn_cast<CallInst>(&I))
|
||||
if (Call->isTailCall() && operandReferences(Call, Frame, AA)) {
|
||||
|
Loading…
Reference in New Issue
Block a user