This is an archive of the discontinued LLVM Phabricator instance.

ARM NEON 2-arg vector compare aliases rejected
ClosedPublic

Authored by joel_k_jones on Feb 12 2013, 11:11 AM.

Details

Reviewers
grosbach
Summary

The ARM NEON vector compare instructions take three arguments. However, the assembler should also accept a two arg form, as the assembler has the first (destination) register as optional.

Diff Detail

Event Timeline

grosbach accepted this revision.Feb 14 2013, 2:47 PM

OK to commit with the noted minor cleanups.

lib/Target/ARM/ARMInstrNEON.td
4267

No need for enclosing '{' '}' when there's only one def[m] inside them.

The constraint is typically specified as "$Vm = $Vd" (order reversed).

test/MC/ARM/neon-bitwise-encoding.s
1

Inadvertant change, or 80 column fix? If the latter, no worries, it's just not clear from the diff which it is.

Thanks, Jim.

Committed revision 175221.

Joel

Eugene.Zelenko closed this revision.Oct 5 2016, 4:16 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in rL175221.