HomePhabricator

[AArch64] Implement lowering of the X constraint on AArch64

Description

[AArch64] Implement lowering of the X constraint on AArch64

Summary:
This implements the lowering of the X constraint on
AArch64.

The default behaviour of the X constraint lowering is to
restrict it to "f". This is a problem because the "f"
constraint is not implemented on AArch64 and would be too
restrictive anyway. Therefore, the AArch64 hook will
lower this to "w" (if the operand is a floating point or
vector) or "r" otherwise.

The implementation is similar with the one added for
ARM (r267411).

This is the AArch64 side of the fix for http://llvm.org/PR26493

Reviewers: rengolin

Subscribers: aemerson, rengolin, llvm-commits, t.p.northover

Differential Revision: http://reviews.llvm.org/D19967

Details

Committed
sbarangaMay 9 2016, 4:10 AM
Differential Revision
D19967: [AArch64] Implement lowering of the X constraint on AArch64
Parents
rL268906: Fix assertion in SymbolFilePDB
Branches
Unknown
Tags
Unknown