This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel][AArch64] Use a GISelPredicateCode to select llvm.aarch64.stlxr.*
ClosedPublic

Authored by paquette on Aug 5 2019, 2:57 PM.

Details

Summary

Remove manual selection code for this intrinsic and use a GISelPredicateCode instead.

This allows us to fully select this intrinsic without any tricky custom C++ matching for small types.

This is dependent on D65756, since these intrinsics use llvm_anyptr_ty.

Diff Detail

Repository
rL LLVM

Event Timeline

paquette created this revision.Aug 5 2019, 2:57 PM
aemerson accepted this revision.Aug 28 2019, 4:53 PM

LGTM with updates.

This revision is now accepted and ready to land.Aug 28 2019, 4:53 PM
This revision was automatically updated to reflect the committed changes.