[llvm] r257960 - [WebAssembly] Re-enable a test.

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 15:47:19 PST 2016


Author: djg
Date: Fri Jan 15 17:47:19 2016
New Revision: 257960

URL: http://llvm.org/viewvc/llvm-project?rev=257960&view=rev
Log:
[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.

Modified:
    llvm/trunk/test/CodeGen/WebAssembly/offset-folding.ll

Modified: llvm/trunk/test/CodeGen/WebAssembly/offset-folding.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WebAssembly/offset-folding.ll?rev=257960&r1=257959&r2=257960&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/WebAssembly/offset-folding.ll (original)
+++ llvm/trunk/test/CodeGen/WebAssembly/offset-folding.ll Fri Jan 15 17:47:19 2016
@@ -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.
- at x = global [0 x i32] zeroinitializer
+ at x = external global [0 x i32]
 @y = global [50 x i32] zeroinitializer
 
 ; Test basic constant offsets of both defined and external symbols.




More information about the llvm-commits mailing list