This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix incorrect simm check
ClosedPublic

Authored by jvesely on May 18 2016, 11:42 AM.

Details

Summary

Use signed division otherwise all back jumps fail the check
Fixes regression introduced in r269951

Diff Detail

Repository
rL LLVM

Event Timeline

jvesely updated this revision to Diff 57654.May 18 2016, 11:42 AM
jvesely retitled this revision from to AMDGPU: Fix incorrect simm check.
jvesely updated this object.
jvesely added reviewers: arsenm, tstellarAMD.
jvesely set the repository for this revision to rL LLVM.
jvesely added a subscriber: llvm-commits.
arsenm accepted this revision.May 18 2016, 11:54 AM
arsenm edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 18 2016, 11:54 AM
This revision was automatically updated to reflect the committed changes.