summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/WebAssembly/stack-ptr.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/WebAssembly/stack-ptr.ll')
-rw-r--r--llvm/test/MC/WebAssembly/stack-ptr.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/MC/WebAssembly/stack-ptr.ll b/llvm/test/MC/WebAssembly/stack-ptr.ll
index 585d906790e..1592e8f6d4a 100644
--- a/llvm/test/MC/WebAssembly/stack-ptr.ll
+++ b/llvm/test/MC/WebAssembly/stack-ptr.ll
@@ -1,4 +1,6 @@
-; RUN: llc -mtriple wasm32-unknown-unknown-wasm -filetype=obj %s -o - | obj2yaml | FileCheck %s
+; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s
+
+target triple = "wasm32-unknown-unknown-wasm"
; Function that uses explict stack, and should generate a reference to
; __stack_pointer, along with the corresponding reloction entry.
OpenPOWER on IntegriCloud