This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Fix isLegalAddImmediate() to return true for valid negative values.
ClosedPublic

Authored by gberry on Feb 19 2016, 1:03 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

gberry updated this revision to Diff 48543.Feb 19 2016, 1:03 PM
gberry retitled this revision from to [AArch64] Fix isLegalAddImmediate() to return true for valid negative values..
gberry updated this object.
gberry added reviewers: t.p.northover, jmolloy.
gberry added subscribers: llvm-commits, mcrosier.

I don't believe FileCheck is going to recognize CHECK_LABEL as a directive. Also, the CHECK-LABEL directive is generally used to check function names, not basic block labels as the are expected to match once and only one per file; function names can't repeat while basic block names certainly can.

Chad

gberry updated this revision to Diff 48545.Feb 19 2016, 1:52 PM

Update test to address Chad's comments.

mcrosier accepted this revision.Feb 29 2016, 11:13 AM
mcrosier added a reviewer: mcrosier.

LGTM.

This revision is now accepted and ready to land.Feb 29 2016, 11:13 AM
This revision was automatically updated to reflect the committed changes.