summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr38533.ll
blob: 4c57d84fe65f3ae9273b0d8f5efce8cbf31314b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s

define void @constant_fold_vector_to_half() {
; CHECK-LABEL: constant_fold_vector_to_half:
; CHECK:       # %bb.0:
; CHECK-NEXT:    movw $16384, (%rax) # imm = 0x4000
; CHECK-NEXT:    retq
  store volatile half bitcast (<4 x i4> <i4 0, i4 0, i4 0, i4 4> to half), half* undef
  ret void
}