llvm.org GIT mirror llvm / release_38 test / CodeGen / NVPTX / implicit-def.ll
release_38

Tree @release_38 (Download .tar.gz)

implicit-def.ll @release_38raw · history · blame

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

; CHECK: // implicit-def: %f[[F0:[0-9]+]]
; CHECK: add.rn.f32         %f{{[0-9]+}}, %f{{[0-9]+}}, %f[[F0]];
define float @foo(float %a) {
  %ret = fadd float %a, undef
  ret float %ret
}