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.
You probably need some REQUIRES for x86 & amdgpu here, otherwise the test may fail if these targets are not built.