[all-commits] [llvm/llvm-project] c2c0d3: Revert "[WebAssembly] Implementation of global.get...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Fri Jul 2 01:50:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2c0d3ea894328667583155334f0607db0c0a73a
      https://github.com/llvm/llvm-project/commit/c2c0d3ea894328667583155334f0607db0c0a73a
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M clang/lib/Basic/Targets/WebAssembly.h
    M clang/test/CodeGen/target-data.c
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/CodeGen/ValueTypes.h
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/MachineOperand.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/CodeGen/ValueTypes.cpp
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.h
    M llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISD.def
    M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td
    M llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    R llvm/test/CodeGen/WebAssembly/externref-globalget.ll
    R llvm/test/CodeGen/WebAssembly/externref-globalset.ll
    R llvm/test/CodeGen/WebAssembly/externref-inttoptr.ll
    R llvm/test/CodeGen/WebAssembly/externref-ptrtoint.ll
    R llvm/test/CodeGen/WebAssembly/externref-undef.ll
    R llvm/test/CodeGen/WebAssembly/externref-unsized-load.ll
    R llvm/test/CodeGen/WebAssembly/externref-unsized-store.ll
    R llvm/test/CodeGen/WebAssembly/funcref-call.ll
    R llvm/test/CodeGen/WebAssembly/funcref-globalget.ll
    R llvm/test/CodeGen/WebAssembly/funcref-globalset.ll

  Log Message:
  -----------
  Revert "[WebAssembly] Implementation of global.get/set for reftypes in LLVM IR"

This reverts commit 4facbf213c51e4add2e8c19b08d5e58ad71c72de.

```
********************
FAIL: LLVM :: CodeGen/WebAssembly/funcref-call.ll (44466 of 44468)
******************** TEST 'LLVM :: CodeGen/WebAssembly/funcref-call.ll' FAILED ********************
Script:
--
: 'RUN: at line 1';   /builddirs/llvm-project/build-Clang12/bin/llc < /repositories/llvm-project/llvm/test/CodeGen/WebAssembly/funcref-call.ll --mtriple=wasm32-unknown-unknown -asm-verbose=false -mattr=+reference-types | /builddirs/llvm-project/build-Clang12/bin/FileCheck /repositories/llvm-project/llvm/test/CodeGen/WebAssembly/funcref-call.ll
--
Exit Code: 2

Command Output (stderr):
--
llc: /repositories/llvm-project/llvm/include/llvm/Support/LowLevelTypeImpl.h:44: static llvm::LLT llvm::LLT::scalar(unsigned int): Assertion `SizeInBits > 0 && "invalid scalar size"' failed.

```




More information about the All-commits mailing list