mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Fix -Wunused-but-set-variable warning by removing unused 'aggregateIsPacked' checking
llvm-svn: 295830
This commit is contained in:
parent
a0254ce06b
commit
244318c374
@ -2397,10 +2397,6 @@ NVPTXTargetLowering::LowerReturn(SDValue Chain, CallingConv::ID CallConv,
|
||||
// they are signed or unsigned types.
|
||||
bool ExtendIntegerRetVal =
|
||||
RetTy->isIntegerTy() && DL.getTypeAllocSizeInBits(RetTy) < 32;
|
||||
bool aggregateIsPacked = false;
|
||||
|
||||
if (StructType *STy = dyn_cast<StructType>(RetTy))
|
||||
aggregateIsPacked = STy->isPacked();
|
||||
|
||||
SmallVector<SDValue, 6> StoreOperands;
|
||||
for (unsigned i = 0, e = Outs.size(); i != e; ++i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user