[all-commits] [llvm/llvm-project] 6d3027: MachineSink: Move helper function and use more const
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Jul 14 15:46:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d3027e3d1ae7fee44bae5fe02913c0959505f25
https://github.com/llvm/llvm-project/commit/6d3027e3d1ae7fee44bae5fe02913c0959505f25
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M llvm/include/llvm/CodeGen/MachineBasicBlock.h
M llvm/lib/CodeGen/MachineSink.cpp
Log Message:
-----------
MachineSink: Move helper function and use more const
Commit: c4ccd6e3d295da69fa590d0fd1fd0b74a174ad1d
https://github.com/llvm/llvm-project/commit/c4ccd6e3d295da69fa590d0fd1fd0b74a174ad1d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
Log Message:
-----------
MachineSink: Remove unnecessary empty block check
Commit: bac2a075408377a8aa41f6626b17bb3e471221f3
https://github.com/llvm/llvm-project/commit/bac2a075408377a8aa41f6626b17bb3e471221f3
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/test/CodeGenCUDA/correctly-rounded-div.cu
M clang/test/CodeGenOpenCL/fpmath.cl
Log Message:
-----------
clang: Attach !fpmath metadata to __builtin_sqrt based on language flags
OpenCL and HIP have -cl-fp32-correctly-rounded-divide-sqrt and
-fno-hip-correctly-rounded-divide-sqrt. The corresponding fpmath metadata
was only set on fdiv, and not sqrt. The backend is currently underutilizing
sqrt lowering options, and the responsibility is split between the libraries
and backend and this metadata is needed.
CUDA/NVCC has -prec-div and -prev-sqrt but clang doesn't appear to be
aiming for compatibility with those. Don't know if OpenMP has a similar
control.
Compare: https://github.com/llvm/llvm-project/compare/9115f18de906...bac2a0754083
More information about the All-commits
mailing list