[all-commits] [llvm/llvm-project] 254ccb: [BOLT] Follow-up to "Fix incorrect basic block out...
Maksim Panchenko via All-commits
all-commits at lists.llvm.org
Wed Nov 8 10:53:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 254ccb95e8058844f6cf82bff2c4ef9aa566760f
https://github.com/llvm/llvm-project/commit/254ccb95e8058844f6cf82bff2c4ef9aa566760f
Author: Maksim Panchenko <maks at fb.com>
Date: 2023-11-08 (Wed, 08 Nov 2023)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
Log Message:
-----------
[BOLT] Follow-up to "Fix incorrect basic block output addresses" (#71630)
In 8244ff6739a09cb75e6e7fd1c24b85e2b1397266, I've introduced an
assertion that incorrectly used BasicBlock::empty(). Some basic blocks
may contain only pseudo instructions and thus BB->empty() will evaluate
to false, while the actual code size will be zero.
More information about the All-commits
mailing list