bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Generic/storetrunc-fp.ll
2025-02-14 19:21:04 +01:00

8 lines
162 B
LLVM

; RUN: llc < %s
define void @foo(double %a, double %b, ptr %fp) {
%c = fadd double %a, %b
%d = fptrunc double %c to float
store float %d, ptr %fp
ret void
}