FailedChanges

Summary

  1. [clang][opencl][codegen] Remove the insertion of `correctly-rounded-divide-sqrt-fp-math` fn-attr. (details)
Commit 8c36eaf0377285acb89c319582d9666e60f42007 by michael.hliao
[clang][opencl][codegen] Remove the insertion of `correctly-rounded-divide-sqrt-fp-math` fn-attr.

- `-cl-fp32-correctly-rounded-divide-sqrt` is already handled in a
  per-instruction manner by annotating the accuracy required. There's no
  need to add that fn-attr. So far, there's no in-tree backend handling
  that attr and that OpenCL specific option.
- In case that out-of-tree backends are broken, this change could be
  reverted if those backends could not be fixed.

Differential Revision: https://reviews.llvm.org/D88424
The file was modifiedclang/test/CodeGenOpenCL/fpmath.cl
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-attrs.cl
The file was modifiedclang/lib/CodeGen/CGCall.cpp