This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Fix a test in wqm.ll to always use s_cbranch_vcc*
ClosedPublic

Authored by tstellarAMD on Aug 11 2016, 4:18 AM.

Details

Summary

We need to use floating-point compares to ensure that s_cbranch_vcc*
instructions are always generated. With integer compares, future
optimizations could cause s_cbranch_scc* to be generated instead.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Fix a test in wqm.ll to always use s_cbranch_vcc*.
tstellarAMD updated this object.
tstellarAMD added reviewers: nhaehnle, arsenm.
tstellarAMD added a subscriber: llvm-commits.
nhaehnle accepted this revision.Aug 11 2016, 5:12 AM
nhaehnle edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 11 2016, 5:12 AM
This revision was automatically updated to reflect the committed changes.