Interestingly enough some (but not all) of the test inputs start to pass
when I forcefully enable subnormal support in libclc
(--enable-runtime-subnormal and also updating generic/lib/shared/
subnormal_config.cl to enable 32-bit subnormals).
I’m guessing you need to somehow access one of the other division implementations. By default fdiv will be getting the !fpmath 2.5 ULP metadata. Can you try adding -cl-f432-correctly-rounded-divide-sqrt to the build of this file, or calling a wrapper IR function which avoids the metadata?