diff options
Diffstat (limited to 'test/CodeGen/JS/ffis-f32.ll')
-rw-r--r-- | test/CodeGen/JS/ffis-f32.ll | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/JS/ffis-f32.ll b/test/CodeGen/JS/ffis-f32.ll index 39d3c65b6c..63b8e9a5ff 100644 --- a/test/CodeGen/JS/ffis-f32.ll +++ b/test/CodeGen/JS/ffis-f32.ll @@ -1,7 +1,10 @@ -; RUN: llc -emscripten-precise-f32 -march=js < %s | FileCheck %s +; RUN: llc -emscripten-precise-f32 < %s | FileCheck %s ; Use proper types to ffi calls, with float32 +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: (+Math_sqrt(+1)); ; CHECK-NEXT: (Math_fround(Math_sqrt(Math_fround(+1)))); ; CHECK-NEXT: (+Math_sqrt((+$d))); |