HomePhabricator

[Tests] Add a test demonstrating a miscompile in the off-by-default loop-pred…

Authored by reames on Oct 14 2019, 12:49 PM.

Description

[Tests] Add a test demonstrating a miscompile in the off-by-default loop-pred transform

Credit goes to Evgeny Brevnov for figuring out the problematic case.

Fuzzing probably also found it (lots of failures), but due to some silly infrastructure problems I hadn't gotten to the results before Evgeny hand reduced it from a benchmark.

llvm-svn: 374812

Details

Committed
reamesOct 14 2019, 12:49 PM
Parents
rG76e02af70487: [LoopIdiom] BCmp: loop exit count must not be wider than size_t that `bcmp`…
Branches
Unknown
Tags
Unknown