diff options
Diffstat (limited to 'test/CodeGen/JS/getelementptr.ll')
-rw-r--r-- | test/CodeGen/JS/getelementptr.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/JS/getelementptr.ll b/test/CodeGen/JS/getelementptr.ll index 2dbb868b94..ec56cbe207 100644 --- a/test/CodeGen/JS/getelementptr.ll +++ b/test/CodeGen/JS/getelementptr.ll @@ -1,8 +1,9 @@ -; RUN: opt -S < %s -expand-getelementptr | llc -march=js | FileCheck %s +; RUN: opt -S < %s -expand-getelementptr | llc | FileCheck %s ; Test simple getelementptr codegen. 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 _getelementptr([[VAL_P:\$[a-z_]+]]) { ; CHECK: [[GEP:\$[a-z_]+]] = (([[GEPINT:\$[a-z_]+]]) + 588)|0; |