This is an archive of the discontinued LLVM Phabricator instance.

[TargetLowering] Remove unused basic block parameter from `getMaxPermittedBytesForAlignment` (NFC)
Needs ReviewPublic

Authored by chill on Jul 26 2023, 5:40 AM.

Details

Summary

The MachineBlockPlacement computes and sets the alignment and the
maximum allowed padding for each basic block. It makes no sense to
split these parts of computation that depend on the specific basic
block across different components of the compiler.

Diff Detail