
Set this on any source level floating-point type argument, return value, call return or outgoing parameter which is lowered to a valid IR type for the attribute. Currently this isn't applied to emitted intrinsics since those don't go through ABI code.
5 lines
95 B
LLVM
5 lines
95 B
LLVM
define float @declared_as_nonan(float %arg) {
|
|
%add = fadd float %arg, 1.0
|
|
ret float %add
|
|
}
|