HomePhabricator

Changes in the branch relaxation algorithm.

Description

Changes in the branch relaxation algorithm.
The existing version worked incorrectly when inversion of a branch condintion is impossible.
Changed the "fixupConditionalBranch()" function - a new BB (a trampoline) is created to keep the original branch condition.

Differential Revision: https://reviews.llvm.org/D41634

Details

Committed
delenaJan 3 2018, 11:08 PM
Differential Revision
D41634: Branch relaxation - non invertible condition
Parents
rL321784: Remove the unit test from r321783.
Branches
Unknown
Tags
Unknown