This is an archive of the discontinued LLVM Phabricator instance.

Remove spacing from Hexagon instruction syntax to match canonical form which doesn't contain spaces around tokens.
AbandonedPublic

Authored by colinl on Dec 5 2016, 1:26 PM.

Details

Summary

This removes spacing around tokenized characters which does not match the canonical instruction syntax.

Historically these spaces were added to force tokenization when TableGen only recognized a few characters.

This patch adds the full set of tokenizing characters to Hexagon.td, modifies the instructions' syntaxes to remove spacing, and fixed test cases to check for new syntax.

Diff Detail

Repository
rL LLVM

Event Timeline

colinl updated this revision to Diff 80318.Dec 5 2016, 1:26 PM
colinl retitled this revision from to Remove spacing from Hexagon instruction syntax to match canonical form which doesn't contain spaces around tokens..
colinl updated this object.
colinl added reviewers: kparzysz, bcahoon, sidneym.
colinl set the repository for this revision to rL LLVM.
colinl added a subscriber: llvm-commits.
colinl abandoned this revision.Nov 27 2017, 8:25 AM