This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Correct syntax of the CLRM insn
ClosedPublic

Authored by chill on Feb 5 2020, 4:40 AM.

Details

Summary

The predicate should be adjacent to the opcode.

Diff Detail

Event Timeline

chill created this revision.Feb 5 2020, 4:40 AM
simon_tatham requested changes to this revision.Feb 5 2020, 4:57 AM
This revision now requires changes to proceed.Feb 5 2020, 4:57 AM
simon_tatham added inline comments.Feb 5 2020, 4:58 AM
llvm/lib/Target/ARM/ARMInstrThumb2.td
5210

This will generate an AsmString with two consecutive tab characters, because the V8_1MI base class inserts a \t between the asm and ops parameters, but you've put an extra \t in the ops string.

(I guess FileCheck normalizes out whitespace and so the test doesn't notice the difference.)

chill updated this revision to Diff 242575.Feb 5 2020, 5:50 AM
chill marked an inline comment as done.
simon_tatham accepted this revision.Feb 5 2020, 5:51 AM
This revision is now accepted and ready to land.Feb 5 2020, 5:51 AM
This revision was automatically updated to reflect the committed changes.