Description
Running opt -passes='simple-loop-unswitch<nontrivial>'
on https://gist.github.com/nikic/852fbcaa307231c3aa0a5cdc1f057ede does not finish after 5 minutes.
My attempt to reduce this resulted in https://gist.github.com/nikic/52d9fc05e986a4e9279620461fe54d26, which does finish after about 50 seconds, resulting in this output: https://gist.github.com/nikic/45fb4b1448caa7195618c5001874f8cc The first test case might not be infinite as well, just very slow.
This problem does not occur when -simple-loop-unswitch-inject-invariant-conditions=false
is passed.
Metadata
Metadata
Assignees
Type
Projects
Status
Done