OSDN Git Service

[WebAssembly] Print error message for llvm.clear_cache intrinsic
authorHeejin Ahn <aheejin@gmail.com>
Thu, 11 Jul 2019 05:55:47 +0000 (05:55 +0000)
committerHeejin Ahn <aheejin@gmail.com>
Thu, 11 Jul 2019 05:55:47 +0000 (05:55 +0000)
commitb1de9566800485b60c209d7f093c77694b78d7a6
treec09cd20d4174bae1e2098d5ff1e980b4a14094aa
parent85d6f4b7837a2824317b8978551b5f03dc4d18df
[WebAssembly] Print error message for llvm.clear_cache intrinsic

Summary:
Wasm does not currently support `llvm.clear_cache` intrinsic, and this
prints a proper error message instead of segfault.

Reviewers: dschuff, sbc100, sunfish

Subscribers: jgravelle-google, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365731 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyISelLowering.h
test/CodeGen/WebAssembly/clear-cache.ll [new file with mode: 0644]