Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Backport fix for encoding_rs performance regression #115

Merged

Commits on May 15, 2018

  1. Re-apply Relax restriction for folding unconditional branches

    The commit rL308422 introduces a restriction for folding unconditional
    branches. Specifically if empty block with unconditional branch leads to
    header of the loop then elimination of this basic block is prohibited.
    However it seems this condition is redundantly strict.
    If elimination of this basic block does not introduce more back edges
    then we can eliminate this block.
    
    The patch implements this relax of restriction.
    
    The test profile/Linux/counter_promo_nest.c in compiler-rt project
    is updated to meet this change.
    
    Reviewers: efriedma, mcrosier, pacxx, hsung, davidxl
    Reviewed By: pacxx
    Subscribers: llvm-commits
    Differential Revision: https://reviews.llvm.org/D42691
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324572 91177308-0d34-0410-b5e6-96231b3b80d8
    Serguei Katkov authored and nikic committed May 15, 2018
    Configuration menu
    Copy the full SHA
    823320b View commit details
    Browse the repository at this point in the history