This is an archive of the discontinued LLVM Phabricator instance.

ARM: Implement __builtin_arm_nop intrinsic
ClosedPublic

Authored by kongyi on Jul 14 2014, 7:41 AM.

Details

Summary

This patch implements __builtin_arm_nop intrinsic for AArch32 and AArch64, which generates hint 0x0, the alias of NOP instruction.

This intrinsic is necessary to implement ACLE __nop intrinsic.

Diff Detail

Repository
rL LLVM

Event Timeline

kongyi updated this revision to Diff 11382.Jul 14 2014, 7:41 AM
kongyi retitled this revision from to ARM: Implement __builtin_arm_nop intrinsic.
kongyi updated this object.
kongyi edited the test plan for this revision. (Show Details)
kongyi added reviewers: t.p.northover, rengolin.
kongyi set the repository for this revision to rL LLVM.
kongyi added a subscriber: Unknown Object (MLST).
t.p.northover accepted this revision.Jul 14 2014, 7:59 AM
t.p.northover edited edge metadata.

Hi Yi,

The code looks reasonable, but I don't think there's any real reason to separate NOP from the other hints in BuiltinsARM.def.

Cheers.

Tim.

This revision is now accepted and ready to land.Jul 14 2014, 7:59 AM
kongyi closed this revision.Jul 14 2014, 8:28 AM
kongyi updated this revision to Diff 11385.

Closed by commit rL212947 (authored by @kongyi).