[all-commits] [llvm/llvm-project] 5dbf80: [clang][codegen] Annotate `correctly-rounded-divid...

darkbuck via All-commits all-commits at lists.llvm.org
Mon Sep 28 08:41:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dbf80cad9556e222c4383960007fc0b27ea9541
      https://github.com/llvm/llvm-project/commit/5dbf80cad9556e222c4383960007fc0b27ea9541
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/test/CodeGen/complex-builtins.c
    M clang/test/CodeGen/complex-libcalls.c
    M clang/test/CodeGen/math-builtins.c
    M clang/test/CodeGen/math-libcalls.c

  Log Message:
  -----------
  [clang][codegen] Annotate `correctly-rounded-divide-sqrt-fp-math` fn-attr for OpenCL only.

- `-cl-fp32-correctly-rounded-divide-sqrt` is an OpenCL-specific option
  and `correctly-rounded-divide-sqrt-fp-math` should be added for OpenCL
  at most.

Differential revision: https://reviews.llvm.org/D88303




More information about the All-commits mailing list