summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/offset-folding.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/offset-folding.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/offset-folding.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/offset-folding.ll b/llvm/test/CodeGen/WebAssembly/offset-folding.ll
index 19b110fcfa8..2b4e8a90b0f 100644
--- a/llvm/test/CodeGen/WebAssembly/offset-folding.ll
+++ b/llvm/test/CodeGen/WebAssembly/offset-folding.ll
@@ -5,7 +5,10 @@
target datalayout = "e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32-unknown-unknown"
-@x = external global [0 x i32]
+; FIXME: make this 'external' and make sure it still works. WebAssembly
+; currently only supports linking single files, so 'external' makes
+; little sense.
+@x = global [0 x i32] zeroinitializer
@y = global [50 x i32] zeroinitializer
; Test basic constant offsets of both defined and external symbols.
OpenPOWER on IntegriCloud