[all-commits] [llvm/llvm-project] 4eef52: [HIP] Pass -fno-hip-fp32-correctly-rounded-divide-...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon Jul 3 13:20:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4eef528853418fd72bffbb139d953520bb7b4c73
      https://github.com/llvm/llvm-project/commit/4eef528853418fd72bffbb139d953520bb7b4c73
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/hip-options.hip

  Log Message:
  -----------
  [HIP] Pass -fno-hip-fp32-correctly-rounded-divide-sqrt to clang -cc1

-fno-hip-fp32-correctly-rounded-divide-sqrt affects clang codegen
and should be passed to clang -cc1 by clang driver.

Fixes: https://github.com/llvm/llvm-project/issues/63653

Reviewed by: Matt Arsenault

Differential Revision: https://reviews.llvm.org/D154385




More information about the All-commits mailing list