HomePhabricator

[AArch64][SVE] Asm: Fix predicate pattern diagnostics.

Description

[AArch64][SVE] Asm: Fix predicate pattern diagnostics.

This patch uses the DiagnosticPredicate for SVE predicate patterns
to improve their diagnostics, now giving a 'invalid operand' diagnostic
if the type is not an immediate or one of the expected pattern
labels.

Reviewers: samparker, SjoerdMeijer, javed.absar, fhahn

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D48220

Details

Committed
s.desmalenJun 18 2018, 2:03 PM
Reviewer
fhahn
Differential Revision
D48220: [AArch64][SVE] Asm: Fix predicate pattern diagnostics.
Parents
rL334982: IRgen: Mark aliases of ctors and dtors as unnamed_addr.
Branches
Unknown
Tags
Unknown
Reverted By
rL335085: Revert r334980 and 334983