[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
Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
[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