This is an archive of the discontinued LLVM Phabricator instance.

[lanai] isBrImm should accept any non-constant immediate.
ClosedPublic

Authored by jpienaar on Mar 29 2016, 1:34 PM.

Details

Summary

isBrImm should accept any non-constant immediate. Previously it was only accepting LanaiMCExpr ones which was wrong.

Diff Detail

Event Timeline

jpienaar updated this revision to Diff 51928.Mar 29 2016, 1:34 PM
jpienaar retitled this revision from to [lanai] isBrImm should accept any non-constant immediate..
jpienaar updated this object.
jpienaar added a reviewer: majnemer.
jpienaar added a subscriber: llvm-commits.
jpienaar updated this revision to Diff 52239.Mar 31 2016, 10:28 AM

Changing to test that uses llvm-mc directly instead of llc.

majnemer accepted this revision.Mar 31 2016, 10:55 AM
majnemer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Mar 31 2016, 10:55 AM
This revision was automatically updated to reflect the committed changes.