HomePhabricator

[ModuloSchedule] removeBranch() *before* creating the trip count condition

Authored by jmolloy on Oct 3 2019, 10:10 AM.

Description

[ModuloSchedule] removeBranch() *before* creating the trip count condition

The Hexagon code assumes there's no existing terminator when inserting its
trip count condition check.

This causes swp-stages5.ll to break. The generated code looks good to me,
it is likely a permutation. I have disabled the new codegen path to keep
everything green and will investigate along with the other 3-4 tests
that have different codegen.

Fixes expensive-checks build.

llvm-svn: 373629

Details

Committed
jmolloyOct 3 2019, 10:10 AM
Parents
rGb44204c77e63: [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI
Branches
Unknown
Tags
Unknown