mirror of
https://github.com/jeremysrand/llvm-65816.git
synced 2024-11-18 23:05:00 +00:00
10 lines
237 B
LLVM
10 lines
237 B
LLVM
|
; 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
|
||
|
}
|