forked from facebook/redex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Previously, DedupBlocks in instrumentation mode overcounted source blocks, because the deduplicated block's source block was copied from the source block of the block it was split from. Now, DedupBlocks considers source blocks when searching for common instructions. When joining the split off blocks into a common block, set the source block's ID to `SourceBlock::kSyntheticId`, and merge in the interactions of the source blocks from the deleted block. Add support for source blocks in DedupBlockValueNumbering when running instrumentation mode. Two source blocks are equivalent if they have the same source block id. automation_fbandroid_redexunstable_art_hdpi_arm64_release redex_stats violation changes: P1226822496 Reviewed By: jimmycFB Differential Revision: D54130542 fbshipit-source-id: e752a8c8ad2f1cb7e3fea629ad540af790b32f36
- Loading branch information
1 parent
f672d2f
commit f6e06c8
Showing
7 changed files
with
1,104 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.