[all-commits] [llvm/llvm-project] 78e879: [WebAssembly] Disable offset folding for function ...

Heejin Ahn via All-commits all-commits at lists.llvm.org
Thu Aug 12 13:41:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78e87970af888bbbd5652c31f3a8454e8e9dd5b8
      https://github.com/llvm/llvm-project/commit/78e87970af888bbbd5652c31f3a8454e8e9dd5b8
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
    A llvm/test/CodeGen/WebAssembly/function-addr-offset.ll

  Log Message:
  -----------
  [WebAssembly] Disable offset folding for function addresses

Wasm does not support function addresses with offsets, but isel can
generate folded SDValues in the form of (@func + offset) without this
patch.

Fixes https://bugs.llvm.org/show_bug.cgi?id=43133.

Reviewed By: dschuff, sbc100

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




More information about the All-commits mailing list