math functions issue since instcombine transform "and" pattern to call to fabs
rjodinchr opened this issue · 1 comments
rjodinchr commented
Some Math function test of the OpenCL-CTS regressed since clspv contains llvm/llvm-project@5c0da58
clspv workaround: #1252
A cleaner fix might be to prevent the transformation in llvm: llvm/llvm-project#69464
rjodinchr commented
Summary of the conversion in the closed llvm bug:
llvm.fabs
should not be mapped to an implementation that can flush denormal as this intrinsic is defined as having the same behavior as libm
.
https://llvm.org/docs/LangRef.html#llvm-fabs-intrinsic