mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
10 lines
261 B
LLVM
10 lines
261 B
LLVM
|
; RUN: llc < %s -O0 -march=nvptx -mcpu=sm_20 -asm-verbose=1 | FileCheck %s
|
||
|
|
||
|
; CHECK: // implicit-def: %f[[F0:[0-9]+]]
|
||
|
; CHECK: add.f32 %f{{[0-9]+}}, %f{{[0-9]+}}, %f[[F0]];
|
||
|
define float @foo(float %a) {
|
||
|
%ret = fadd float %a, undef
|
||
|
ret float %ret
|
||
|
}
|
||
|
|