[all-commits] [llvm/llvm-project] 35dfa7: [OpenMP][IRBuilder] Handle floats for atomic updat...
Shraiysh via All-commits
all-commits at lists.llvm.org
Wed Feb 9 23:46:29 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35dfa78ff8d44733b1c805309f0bbd4a8c960897
https://github.com/llvm/llvm-project/commit/35dfa78ff8d44733b1c805309f0bbd4a8c960897
Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
Log Message:
-----------
[OpenMP][IRBuilder] Handle floats for atomic update and fix AllocaIP for update/capture
This patch fixes `createAtomicUpdate` for lowering with float types.
Test added for the same.
This patch also changes the alloca argument for createAtomicUpdate and
createAtomicCapture from `Instruction*` to `InsertPointTy`. This is in
line with the other functions of the OpenMPIRBuilder class which take
AllocaIP as an `InsertPointTy`.
Reviewed By: Meinersbur
Differential Revision: https://reviews.llvm.org/D118227
More information about the All-commits
mailing list