[all-commits] [llvm/llvm-project] c32884: [WebAssembly] Rename WrapperPIC -> WrapperREL. NFC

Sam Clegg via All-commits all-commits at lists.llvm.org
Thu Sep 2 17:05:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c32884c482ca3a742afaaa883a369918bb2eeb3f
      https://github.com/llvm/llvm-project/commit/c32884c482ca3a742afaaa883a369918bb2eeb3f
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISD.def
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td

  Log Message:
  -----------
  [WebAssembly] Rename WrapperPIC -> WrapperREL. NFC

This ISD node/wrapper represents am address which is relative to a base
address and therefore lowers to `i32.const` rather than `global.get`.

Use this wrapper type for TLS-relative addresses, paving the way for the
non-REL wrapper to be used to external TLS address once those are
supported.

Differential Revision: https://reviews.llvm.org/D109179




More information about the All-commits mailing list