summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/WebAssembly/load-ext.ll
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2020-05-18 17:45:31 -0700
committerWouter van Oortmerssen <aardappel@gmail.com>2020-06-15 08:31:56 -0700
commitd9e0bbd17b0e61e9f59e6f80c748f7893f7e8d9c (patch)
treeaf561e851f8c0ed9159deb41ead31d3cea35b76a /llvm/test/CodeGen/WebAssembly/load-ext.ll
parent837ca4796065ccd0ac0d20860341ac06a9645009 (diff)
[WebAssembly] Adding 64-bit versions of all load & store ops.
Context: https://github.com/WebAssembly/memory64/blob/master/proposals/memory64/Overview.md This is just a first step, adding the new instruction variants while keeping the existing 32-bit functionality working. Some of the basic load/store tests have new wasm64 versions that show that the basics of the target are working. Further features need implementation, but these will be added in followups to keep things reviewable. Differential Revision: https://reviews.llvm.org/D80769
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/load-ext.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/load-ext.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/load-ext.ll b/llvm/test/CodeGen/WebAssembly/load-ext.ll
index 5ff40a577888..3cb21b9dd67b 100644
--- a/llvm/test/CodeGen/WebAssembly/load-ext.ll
+++ b/llvm/test/CodeGen/WebAssembly/load-ext.ll
@@ -1,10 +1,8 @@
-; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers | FileCheck %s
+; RUN: llc < %s --mtriple=wasm32-unknown-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers | FileCheck --check-prefixes CHECK,CHK32 %s
+; RUN: llc < %s --mtriple=wasm64-unknown-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers | FileCheck --check-prefixes CHECK,CHK64 %s
; Test that extending loads are assembled properly.
-target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
-target triple = "wasm32-unknown-unknown"
-
; CHECK-LABEL: sext_i8_i32:
; CHECK: i32.load8_s $push0=, 0($0){{$}}
; CHECK-NEXT: return $pop0{{$}}