diff options
Diffstat (limited to 'test/CodeGen/JS/dead-prototypes.ll')
-rw-r--r-- | test/CodeGen/JS/dead-prototypes.ll | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/JS/dead-prototypes.ll b/test/CodeGen/JS/dead-prototypes.ll index 2a723ed61e..6d57b5a791 100644 --- a/test/CodeGen/JS/dead-prototypes.ll +++ b/test/CodeGen/JS/dead-prototypes.ll @@ -1,7 +1,10 @@ -; RUN: llc -march=js < %s | not grep printf +; RUN: llc < %s | not grep printf ; llc shouldn't emit any code or bookkeeping for unused declarations. +target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32-S128" +target triple = "asmjs-unknown-emscripten" + define void @foo() { ret void } |