13 lines
449 B
LLVM
13 lines
449 B
LLVM
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||
|
;; -mattr=+all is not intended to be used for code emitters. Nevertheless,
|
||
|
;; llc does not reject it. This test intends to catch behavior changes.
|
||
|
; RUN: llc -mtriple=aarch64 -mattr=+all < %s | FileCheck %s
|
||
|
|
||
|
define half @bf16() nounwind {
|
||
|
; CHECK-LABEL: bf16:
|
||
|
; CHECK: // %bb.0:
|
||
|
; CHECK-NEXT: movi d0, #0000000000000000
|
||
|
; CHECK-NEXT: ret
|
||
|
ret half 0xH0000
|
||
|
}
|