mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 23:43:50 +00:00
Remove unused variables caught by GCC's -Wunused-but-set-variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a08bd8963b
commit
d2189bf12a
@ -3003,7 +3003,6 @@ int LLParser::ParseInstruction(Instruction *&Inst, BasicBlock *BB,
|
||||
case lltok::kw_sub:
|
||||
case lltok::kw_mul:
|
||||
case lltok::kw_shl: {
|
||||
LocTy ModifierLoc = Lex.getLoc();
|
||||
bool NUW = EatIfPresent(lltok::kw_nuw);
|
||||
bool NSW = EatIfPresent(lltok::kw_nsw);
|
||||
if (!NUW) NUW = EatIfPresent(lltok::kw_nuw);
|
||||
|
@ -182,8 +182,6 @@ SparcTargetLowering::LowerFormalArguments(SDValue Chain,
|
||||
}
|
||||
|
||||
if (VA.isRegLoc()) {
|
||||
EVT RegVT = VA.getLocVT();
|
||||
|
||||
if (VA.needsCustom()) {
|
||||
assert(VA.getLocVT() == MVT::f64);
|
||||
unsigned VRegHi = RegInfo.createVirtualRegister(&SP::IntRegsRegClass);
|
||||
|
@ -1351,8 +1351,6 @@ bool PathProfiler::runOnModule(Module &M) {
|
||||
return false;
|
||||
}
|
||||
|
||||
BasicBlock::iterator insertPoint = Main->getEntryBlock().getFirstNonPHI();
|
||||
|
||||
llvmIncrementHashFunction = M.getOrInsertFunction(
|
||||
"llvm_increment_path_count",
|
||||
Type::getVoidTy(*Context), // return type
|
||||
|
Loading…
Reference in New Issue
Block a user