Page MenuHomePhabricator

[GlobalISel][AArch64] Select llvm.aarch64.stxr.* intrinsics.
ClosedPublic

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

Details

Summary

Add a GISelPredicateCode to the stxr_* PatFrags in AArch64InstrAtomics.td.

This allows us to select these intrinsics.

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

Diff Detail

Event Timeline

paquette created this revision.Aug 5 2019, 2:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2019, 2:54 PM

These can use the new predicate you added in the other patch?

Yes, they, and stlxr are all the same.

aemerson accepted this revision.Wed, Aug 28, 4:54 PM

LGTM with updates.

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