Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/Mips/Fast-ISel/constexpr-address.ll @ 117:facf19d07cd9
check EHStack on EmitCall (CbC goto)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 24 Aug 2016 20:10:41 +0900 |
parents | afa8332a0e37 |
children | 1172e4bd9c6f |
line wrap: on
line source
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=pic \ ; RUN: -fast-isel=true -fast-isel-abort=1 < %s | FileCheck %s ; RUN: llc -march=mipsel -mcpu=mips32r2 -relocation-model=pic \ ; RUN: -fast-isel=true -fast-isel-abort=1 < %s | FileCheck %s @ARR = external global [10 x i32], align 4 define void @foo() { ; CHECK-LABEL: foo ; CHECK-DAG: lw $[[ARR:[0-9]+]], %got(ARR)({{.*}}) ; CHECK-DAG: addiu $[[T0:[0-9]+]], $zero, 12345 ; CHECK: sw $[[T0]], 8($[[ARR]]) entry: store i32 12345, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @ARR, i32 0, i32 2), align 4 ret void }