[all-commits] [llvm/llvm-project] 31859f: Implementation of global.get/set for reftypes in L...
Paulo Matos via All-commits
all-commits at lists.llvm.org
Thu Jun 10 01:08:24 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 31859f896cf90d64904134ce7b31230f374c3fcc
https://github.com/llvm/llvm-project/commit/31859f896cf90d64904134ce7b31230f374c3fcc
Author: Paulo Matos <pmatos at igalia.com>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M clang/lib/Basic/Targets/WebAssembly.cpp
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/CodeGen/ValueTypes.h
M llvm/include/llvm/Support/MachineValueType.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
A llvm/test/CodeGen/WebAssembly/externref-globalget.ll
A llvm/test/CodeGen/WebAssembly/externref-globalset.ll
A llvm/test/CodeGen/WebAssembly/externref-inttoptr.ll
A llvm/test/CodeGen/WebAssembly/externref-ptrtoint.ll
A llvm/test/CodeGen/WebAssembly/externref-undef.ll
A llvm/test/CodeGen/WebAssembly/externref-unsized-load.ll
A llvm/test/CodeGen/WebAssembly/externref-unsized-store.ll
A llvm/test/CodeGen/WebAssembly/funcref-call.ll
A llvm/test/CodeGen/WebAssembly/funcref-globalget.ll
A llvm/test/CodeGen/WebAssembly/funcref-globalset.ll
Log Message:
-----------
Implementation of global.get/set for reftypes in LLVM IR
This change implements new DAG notes GLOBAL_GET/GLOBAL_SET, and
lowering methods for load and stores of reference types from IR
globals. Once the lowering creates the new nodes, tablegen pattern
matches those and converts them to Wasm global.get/set.
Reviewed By: tlively
Differential Revision: https://reviews.llvm.org/D95425
More information about the All-commits
mailing list