This is an archive of the discontinued LLVM Phabricator instance.

[Mips] Add support for llvm.thread.pointer intrinsic.
ClosedPublic

Authored by koriakin on Apr 26 2016, 4:31 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

koriakin retitled this revision from to [Mips] Add support for llvm.thread.pointer intrinsic..
koriakin updated this object.
koriakin added reviewers: dsanders, vkalintiris.
koriakin set the repository for this revision to rL LLVM.
koriakin added a subscriber: llvm-commits.
sdardis accepted this revision.Apr 27 2016, 8:43 AM
sdardis added a reviewer: sdardis.

LGTM with nit addressed.

Thanks.

test/CodeGen/Mips/thread-pointer.ll
9 ↗(On Diff #55120)

Nit: can you expand this to 'rdhwr $3, $29'? TLS for MIPS by convention loads the thread pointer into $3.

This revision is now accepted and ready to land.Apr 27 2016, 8:43 AM
koriakin added inline comments.Apr 27 2016, 10:06 AM
test/CodeGen/Mips/thread-pointer.ll
9 ↗(On Diff #55120)

OK, I'll fix this line

This revision was automatically updated to reflect the committed changes.
koriakin marked 2 inline comments as done.