diff options
author | Dan Gohman <sunfish@mozilla.com> | 2014-03-10 22:44:55 -0700 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2014-03-15 16:28:54 -0700 |
commit | 4966d3e8f33d27b41df3ab7802005afdfbeac3ef (patch) | |
tree | 13de022b06e2d40d6fc377b5686398e7b873c1c4 /test/CodeGen/JS/basics.ll | |
parent | e07a61448d48de7c67c9c44c0f1d28cc748a72fd (diff) |
Add triple and datalayout strings to testcases.
This allows them to be run without specifying any command-line options,
which is convenient.
Diffstat (limited to 'test/CodeGen/JS/basics.ll')
-rw-r--r-- | test/CodeGen/JS/basics.ll | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/JS/basics.ll b/test/CodeGen/JS/basics.ll index c24a92487f..573680f810 100644 --- a/test/CodeGen/JS/basics.ll +++ b/test/CodeGen/JS/basics.ll @@ -1,4 +1,7 @@ -; RUN: llc < %s -march=js -o - | FileCheck %s +; RUN: llc < %s | FileCheck %s + +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" ; CHECK: function _simple_integer_math( ; CHECK: [[VAL_A:\$[a-z]+]] = [[VAL_A]]|0; |