Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / CodeGen / Generic / denormal-fp-math-cl-opt.ll
blob7e0922c7d0810de0ce06cfe2d5dc3ec79d7cdd8a
1 ; RUN: llc -denormal-fp-math=dynamic --denormal-fp-math-f32=preserve-sign -stop-after=finalize-isel < %s | FileCheck %s
3 ; Check that the command line flag annotates the IR with the
4 ; appropriate attributes.
6 ; CHECK: attributes #0 = { "denormal-fp-math"="dynamic,dynamic" "denormal-fp-math-f32"="preserve-sign,preserve-sign" }
7 define float @foo(float %var) {
8   ret float %var