[all-commits] [llvm/llvm-project] 281542: [NFC][SimplifyCFG] HoistThenElseCodeToIf(): after ...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Wed Jul 15 14:33:22 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2815429d08fec06027c4adf81c0b438fb2c72ef0
https://github.com/llvm/llvm-project/commit/2815429d08fec06027c4adf81c0b438fb2c72ef0
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2020-07-16 (Thu, 16 Jul 2020)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Log Message:
-----------
[NFC][SimplifyCFG] HoistThenElseCodeToIf(): after hoisting terminator, do return Changed, not just true
Otherwise, if Changed was still false before that,
we would not account for that hoist in NumHoistCommonCode statistic.
More information about the All-commits
mailing list