aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/pr68068.ll
blob: 774b3e311f18e3a7f7b63a74344db046813164fc (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-- -fast-isel=1 | FileCheck %s

define float @f() "target-features"="+avx512f" {
; CHECK-LABEL: f:
; CHECK:       # %bb.0:
; CHECK-NEXT:    vxorps %xmm0, %xmm0, %xmm0
; CHECK-NEXT:    retq
  %1 = uitofp i15 poison to float
  ret float %1
}