llvm-6502/test/CodeGen/ARM/intrinsics-v8.ll
Joey Gouly d1311ac171 [ARM] Introduce the 'sevl' instruction in ARMv8.
This also removes the restriction on the immediate field of the 'hint'
instruction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191744 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-01 12:39:11 +00:00

20 lines
466 B
LLVM

; RUN: llc < %s -mtriple=armv8 -mattr=+db | FileCheck %s
define void @test() {
; CHECK: dmb sy
call void @llvm.arm.dmb(i32 15)
; CHECK: dmb osh
call void @llvm.arm.dmb(i32 3)
; CHECK: dsb sy
call void @llvm.arm.dsb(i32 15)
; CHECK: dsb ishld
call void @llvm.arm.dsb(i32 9)
; CHECK: sevl
tail call void @llvm.arm.sevl() nounwind
ret void
}
declare void @llvm.arm.dmb(i32)
declare void @llvm.arm.dsb(i32)
declare void @llvm.arm.sevl() nounwind