[PATCH] D82130: [WebAssembly] Adding 64-bit versions of __stack_pointer and other globals
Derek Schuff via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 25 15:51:10 PDT 2020
dschuff accepted this revision.
dschuff added a comment.
Compiler changes LGTM
================
Comment at: llvm/test/CodeGen/WebAssembly/stack-alignment.ll:1
-; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-keep-registers | FileCheck %s
-
-target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
-target triple = "wasm32-unknown-unknown"
+; RUN: llc < %s --mtriple=wasm32-unknown-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-keep-registers | FileCheck -DPTR=32 %s
+; RUN: llc < %s --mtriple=wasm64-unknown-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-keep-registers | FileCheck -DPTR=64 %s
----------------
that -D flag is really nice.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82130/new/
https://reviews.llvm.org/D82130
More information about the cfe-commits
mailing list