aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/JS/phi.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/JS/phi.ll')
-rw-r--r--test/CodeGen/JS/phi.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/JS/phi.ll b/test/CodeGen/JS/phi.ll
index 517f73cba3..cef01ce2f4 100644
--- a/test/CodeGen/JS/phi.ll
+++ b/test/CodeGen/JS/phi.ll
@@ -1,8 +1,11 @@
-; RUN: llc -march=js < %s | FileCheck %s
+; RUN: llc < %s | FileCheck %s
; Phi lowering should check for dependency cycles, including looking through
; bitcasts, and emit extra copies as needed.
+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: while(1) {
; CHECK: $k$phi = $j;$j$phi = $k;$k = $k$phi;$j = $j$phi;
; CHECK: }