Files
clang-p2996/llvm/test/CodeGen/WebAssembly/clear-cache.ll
Thomas Lively 122b0220fd [WebAssembly] Remove datalayout strings from llc tests
The data layout strings do not have any effect on llc tests and will become
misleadingly out of date as we continue to update the canonical data layout, so
remove them from the tests.

Differential Revision: https://reviews.llvm.org/D105842
2021-07-14 11:17:08 -07:00

13 lines
336 B
LLVM

; RUN: not --crash llc < %s -asm-verbose=false 2>&1 | FileCheck %s
target triple = "wasm32-unknown-unknown"
; CHECK: LLVM ERROR: llvm.clear_cache is not supported on wasm
define void @clear_cache(i8* %begin, i8* %end) {
entry:
call void @llvm.clear_cache(i8* %begin, i8* %end)
ret void
}
declare void @llvm.clear_cache(i8*, i8*)