• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
2
3; CHECK-LABEL: @trunc_f32
4; CHECK: TRUNC
5
6define void @trunc_f32(float addrspace(1)* %out, float %in) {
7entry:
8  %0 = call float @llvm.trunc.f32(float %in)
9  store float %0, float  addrspace(1)* %out
10  ret void
11}
12
13declare float @llvm.trunc.f32(float)
14