1 ; RUN: llc -mtriple=aarch64 < %s | FileCheck %s
3 define i64 @GetFpcr() {
7 %1 = tail call i64 @llvm.aarch64.get.fpcr()
11 declare i64 @llvm.aarch64.get.fpcr() #0
13 define i32 @GetFltRounds() {
14 ; CHECK-LABEL: GetFltRounds
16 ; CHECK: add w8, w8, #1024, lsl #12
17 ; CHECK: ubfx w0, w8, #22, #2
19 %1 = tail call i32 @llvm.flt.rounds()
23 declare i32 @llvm.flt.rounds() #0