[llvm] [AssignmentTracking] Skip large types in redundant debug info pruning (PR #74329)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 06:53:08 PST 2023
================
@@ -2295,33 +2295,41 @@ removeRedundantDbgLocsUsingBackwardScan(const BasicBlock *BB,
DebugAggregate Aggr =
getAggregate(FnVarLocs.getVariable(RIt->VariableID));
uint64_t SizeInBits = Aggr.first->getSizeInBits().value_or(0);
+ uint64_t SizeInBytes = SizeInBits + 7 / 8;
----------------
nikic wrote:
divideCeil
https://github.com/llvm/llvm-project/pull/74329
More information about the llvm-commits
mailing list