[PATCH] D19569: [Mips] Add support for llvm.thread.pointer intrinsic.

Marcin Koƛcielnicki via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 10:06:22 PDT 2016


koriakin added inline comments.

================
Comment at: test/CodeGen/Mips/thread-pointer.ll:9
@@ +8,3 @@
+define i8* @thread_pointer() {
+; CHECK: rdhwr
+  %1 = tail call i8* @llvm.thread.pointer()
----------------
sdardis wrote:
> Nit: can you expand this to 'rdhwr $3, $29'? TLS for MIPS by convention loads the thread pointer into $3.
OK, I'll fix this line


Repository:
  rL LLVM

http://reviews.llvm.org/D19569





More information about the llvm-commits mailing list