HomePhabricator

Disable Jump Threading for the targets with divergent control flow
Concern Raised35ec3ff76dee

Authored by alex-t on Dec 15 2020, 8:05 AM.

Description

Disable Jump Threading for the targets with divergent control flow

Details: Jump Threading does not make sense for the targets with divergent CF

since they do not use branch prediction for speculative execution.
Also in the high level IR there is no enough information to conclude that the branch is divergent or uniform.
This may cause errors in further CF lowering.

Reviewed By: rampitec

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

Event Timeline

arsenm raised a concern with this commit.Dec 18 2020, 7:08 AM
arsenm added a subscriber: arsenm.

This may cause errors in further CF lowering.

This is purely a bug with later in codegen, and this is not a solution for it

This commit now has outstanding concerns.Dec 18 2020, 7:08 AM