aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/JS/invariant-intrinsics.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/JS/invariant-intrinsics.ll')
-rw-r--r--test/CodeGen/JS/invariant-intrinsics.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/JS/invariant-intrinsics.ll b/test/CodeGen/JS/invariant-intrinsics.ll
index dc156a9ffb..b64355f83b 100644
--- a/test/CodeGen/JS/invariant-intrinsics.ll
+++ b/test/CodeGen/JS/invariant-intrinsics.ll
@@ -1,8 +1,11 @@
-; RUN: llc -march=js < %s | not grep invariant
+; RUN: llc < %s | not grep invariant
; llc currently emits no code or bookkeeping for invariant intrinsic calls
; or 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"
+
declare void @bar(i8*)
define void @foo() {