[all-commits] [llvm/llvm-project] 6aac27: [polly][GPGPU] Fixup related to overloading expone...
Björn Pettersson via All-commits
all-commits at lists.llvm.org
Thu Jun 17 23:59:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6aac2773d80b42bcf9da2414bbd410aa9f10095e
https://github.com/llvm/llvm-project/commit/6aac2773d80b42bcf9da2414bbd410aa9f10095e
Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2021-06-18 (Fri, 18 Jun 2021)
Changed paths:
M polly/lib/CodeGen/PPCGCodeGeneration.cpp
M polly/test/GPGPU/libdevice-functions-copied-into-kernel.ll
Log Message:
-----------
[polly][GPGPU] Fixup related to overloading exponent type in llvm.powi
Commit 4c7f820b2b206bb changed the llvm.powi intrinsic to support
different 'int' sizes for the exponent. That happened to break
the IntrinsicToLibdeviceFunc mapping in PPCGCodeGeneration, which
obviously should have been updated as part of commit 4c7f820b2b
(https://reviews.llvm.org/D99439).
The shortcoming was found by buildbots that use
-DPOLLY_ENABLE_GPGPU_CODEGEN=ON
This patch should fixup the problem.
More information about the All-commits
mailing list