[PATCH] D76828: [RISC-V] Support __builtin_thread_pointer

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 07:01:01 PDT 2020


luismarques added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/pr45303.ll:6
+
+define i8* @thread_pointer() {
+; CHECK: mv a0, tp
----------------
If you are going to use update_llc_test_checks.py then you should add nounwind, to avoid the CFI directives.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76828/new/

https://reviews.llvm.org/D76828





More information about the llvm-commits mailing list