WebAssembly: add placeholder intrinsics header
authorJF Bastien <jfb@google.com>
Thu, 9 Jul 2015 20:57:38 +0000 (20:57 +0000)
committerJF Bastien <jfb@google.com>
Thu, 9 Jul 2015 20:57:38 +0000 (20:57 +0000)
Reviewers: sunfish

Subscribers: llvm-commits, jfb

Differential Revision: http://reviews.llvm.org/D11080

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241858 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Intrinsics.td
include/llvm/IR/IntrinsicsWebAssembly.td [new file with mode: 0644]

index cb3cdf354a579715adfb17acc05bb7fddb5abcde..c4cc78e02b40de7cc6c15207ad7d0e6236ea0015 100644 (file)
@@ -646,3 +646,4 @@ include "llvm/IR/IntrinsicsMips.td"
 include "llvm/IR/IntrinsicsAMDGPU.td"
 include "llvm/IR/IntrinsicsBPF.td"
 include "llvm/IR/IntrinsicsSystemZ.td"
+include "llvm/IR/IntrinsicsWebAssembly.td"
diff --git a/include/llvm/IR/IntrinsicsWebAssembly.td b/include/llvm/IR/IntrinsicsWebAssembly.td
new file mode 100644 (file)
index 0000000..3ccde47
--- /dev/null
@@ -0,0 +1,16 @@
+//===- IntrinsicsWebAssembly.td - Defines wasm intrinsics --*- tablegen -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// \brief This file defines all of the WebAssembly-specific intrinsics.
+///
+//===----------------------------------------------------------------------===//
+
+let TargetPrefix = "wasm" in {  // All intrinsics start with "llvm.wasm.".
+}