This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Select @llvm.aarch64.ldxr.* intrinsics
ClosedPublic

Authored by paquette on Aug 28 2019, 11:04 AM.

Details

Summary

Same thing as D66897, but for ldxr.* instead. Add a GISelPredicateCode to the ldxr_* definitions, which allows us to import them.

Add select-ldxr-intrin.mir, and update arm64-ldxr-stxr.ll.

Relies on D66897 because it uses isLoadStoreOfNumBytes.

Diff Detail

Repository
rL LLVM

Event Timeline

paquette created this revision.Aug 28 2019, 11:04 AM
aemerson accepted this revision.Aug 28 2019, 2:24 PM

Same test comment as the other patch, otherwise LGTM.

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