diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2023-04-25 14:57:09 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2023-04-25 14:59:18 +0200 |
commit | 4b1532a46f66eb71bf80458fa67b86c618803b95 (patch) | |
tree | 9ebbcbc0324d90038a07ac715ca0a71fb379509e /llvm/unittests/IR/MetadataTest.cpp | |
parent | 14a7b2bfffe5ea5885839adb4635e96ce04162f0 (diff) | |
download | llvm-4b1532a46f66eb71bf80458fa67b86c618803b95.zip llvm-4b1532a46f66eb71bf80458fa67b86c618803b95.tar.gz llvm-4b1532a46f66eb71bf80458fa67b86c618803b95.tar.bz2 |
[MC] Eagerly skip zero-sized .fill fragments
This doesn't change the output in any way, but we have a bunch of
emitFill for padding. When emitting an array of floats we'd end up with
DataFragment float1
FillFragment 0
DataFragment float2
FillFragment 0
... and so on
We never actually emit anything for those fills, neither in asm nor obj
emission mode, they just consume RAM for no reason.
Diffstat (limited to 'llvm/unittests/IR/MetadataTest.cpp')
0 files changed, 0 insertions, 0 deletions