[all-commits] [llvm/llvm-project] d3a0a6: Reland: "[WebAssembly] Add new pass to lower int/p...
Paulo Matos via All-commits
all-commits at lists.llvm.org
Tue Aug 3 00:21:24 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3a0a65bf01dccadee38d726b6c4d9813c84a048
https://github.com/llvm/llvm-project/commit/d3a0a65bf01dccadee38d726b6c4d9813c84a048
Author: Paulo Matos <pmatos at igalia.com>
Date: 2021-08-03 (Tue, 03 Aug 2021)
Changed paths:
M llvm/lib/Target/WebAssembly/CMakeLists.txt
M llvm/lib/Target/WebAssembly/WebAssembly.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
A llvm/lib/Target/WebAssembly/WebAssemblyLowerRefTypesIntPtrConv.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/test/CodeGen/WebAssembly/externref-inttoptr.ll
M llvm/test/CodeGen/WebAssembly/externref-ptrtoint.ll
M llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
Log Message:
-----------
Reland: "[WebAssembly] Add new pass to lower int/ptr conversions of reftypes"
Add new pass LowerRefTypesIntPtrConv to generate debugtrap
instruction for an inttoptr and ptrtoint of a reference type instead
of erroring, since calling these instructions on non-integral pointers
has been since allowed (see ac81cb7e6).
Differential Revision: https://reviews.llvm.org/D107102
More information about the All-commits
mailing list