[PATCH] D11080: WebAssembly: add placeholder intrinsics header

JF Bastien jfb at chromium.org
Thu Jul 9 13:55:44 PDT 2015


jfb updated this revision to Diff 29385.
jfb added a comment.

- Address sunfish's comments.


http://reviews.llvm.org/D11080

Files:
  include/llvm/IR/Intrinsics.td
  include/llvm/IR/IntrinsicsWebAssembly.td

Index: include/llvm/IR/IntrinsicsWebAssembly.td
===================================================================
--- /dev/null
+++ include/llvm/IR/IntrinsicsWebAssembly.td
@@ -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.".
+}
Index: include/llvm/IR/Intrinsics.td
===================================================================
--- include/llvm/IR/Intrinsics.td
+++ include/llvm/IR/Intrinsics.td
@@ -646,3 +646,4 @@
 include "llvm/IR/IntrinsicsAMDGPU.td"
 include "llvm/IR/IntrinsicsBPF.td"
 include "llvm/IR/IntrinsicsSystemZ.td"
+include "llvm/IR/IntrinsicsWebAssembly.td"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11080.29385.patch
Type: text/x-patch
Size: 1151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150709/d9164049/attachment.bin>


More information about the llvm-commits mailing list