This is an archive of the discontinued LLVM Phabricator instance.

[ARMv8] Implement new operands for DMB/DSB
ClosedPublic

Authored by joey on Sep 4 2013, 9:11 AM.

Details

Reviewers
joey
Summary

Hi all,

ARMv8 introduces new operands for the reserved values of DMB/DSB.

Diff Detail

Event Timeline

Could do with some CodeGen tests for those new intrinsics. Other than that I just spotted one possible improvement.

lib/Target/ARM/ARMInstrInfo.td
4264

Should probably use imm0_15 in the source pattern. An error is better than silently accepting "@llvm.arm.dmb(i32 50)".

joey updated this revision to Unknown Object (????).Sep 5 2013, 6:38 AM

I removed the ISD Node ARM::MEMBARRIER, and replaced it's usage with the intrinsic.

joey accepted this revision.Sep 5 2013, 8:38 AM
joey closed this revision.

Closed with some minor fixes from comments on IRC from Tim.

r190055.