llvm.org GIT mirror llvm / release_34 test / CodeGen / NVPTX / inline-asm.ll
release_34

Tree @release_34 (Download .tar.gz)

inline-asm.ll @release_34raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s


define float @test(float %x) {
entry:
; CHECK: ex2.approx.ftz.f32 %f{{[0-9]+}}, %f{{[0-9]+}}
  %0 = call float asm "ex2.approx.ftz.f32 $0, $1;", "=f,f"(float %x)
  ret float %0
}