[PATCH] D143708: [RISCV] Add emulated TLS supported

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 13:49:42 PST 2023


MaskRay added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/emutls_generic.ll:43
+
+; RISCV_64-LABEL:  get_external_x:
+; RISCV_64:      __emutls_v.external_x
----------------
32-bit and 64-bit can share many CHECK prefixes. Use `--check-prefixes=CHECK,CHECK-64` and `--check-prefixes=CHECK,CHECK-32`.

`; RISCV_64:      __emutls_get_address` isn't useful to know which reference it is. Test the whole instruction like `call __emutls_get_address`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143708



More information about the llvm-commits mailing list