view test/CodeGen/ARM/stc2.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 1172e4bd9c6f
children
line wrap: on
line source

; RUN: not llc < %s -mtriple=armv8-eabi 2>&1 | FileCheck %s
; RUN: not llc < %s -mtriple=thumbv8-eabi 2>&1 | FileCheck %s

; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.stc2
define void @stc2(i8* %i) nounwind {
entry:
  call void @llvm.arm.stc2(i32 1, i32 2, i8* %i) nounwind
  ret void
}

declare void @llvm.arm.stc2(i32, i32, i8*) nounwind