summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/offset-folding.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-01-15 23:47:19 +0000
committerDan Gohman <dan433584@gmail.com>2016-01-15 23:47:19 +0000
commitf2f92f14740b44f8afbeeddfdfa6d97f1126f7b3 (patch)
tree4afa8aad6e659f59e7f64c3b219f50aa9cc44255 /llvm/test/CodeGen/WebAssembly/offset-folding.ll
parent778cec3e301e1505847e5b0ccd6e64caeb4e2541 (diff)
downloadbcm5719-llvm-f2f92f14740b44f8afbeeddfdfa6d97f1126f7b3.tar.gz
bcm5719-llvm-f2f92f14740b44f8afbeeddfdfa6d97f1126f7b3.zip
[WebAssembly] Re-enable a test.
Out-of-tree projects that don't support this can disable the test for themselves rather than having it disabled in LLVM itself. llvm-svn: 257960
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/offset-folding.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/offset-folding.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/offset-folding.ll b/llvm/test/CodeGen/WebAssembly/offset-folding.ll
index 159a25eba35..59c05572575 100644
--- a/llvm/test/CodeGen/WebAssembly/offset-folding.ll
+++ b/llvm/test/CodeGen/WebAssembly/offset-folding.ll
@@ -5,10 +5,7 @@
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32-unknown-unknown"
-; 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
+@x = external global [0 x i32]
@y = global [50 x i32] zeroinitializer
; Test basic constant offsets of both defined and external symbols.
OpenPOWER on IntegriCloud