llvm-project/llvm/unittests/Frontend
Shraiysh Vaishay 35dfa78ff8 [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
2022-02-10 13:16:10 +05:30
..
CMakeLists.txt [LLVMFrontend][openacc] Add basic unit tests for functions in LLVMFrontendOpenACC 2020-12-03 11:27:18 -05:00
OpenACCTest.cpp [LLVMFrontend][openacc] Add basic unit tests for functions in LLVMFrontendOpenACC 2020-12-03 11:27:18 -05:00
OpenMPContextTest.cpp [OpenMP] Allow traits for the OpenMP context selector `isa` 2020-07-29 10:22:27 -05:00
OpenMPIRBuilderTest.cpp [OpenMP][IRBuilder] Handle floats for atomic update and fix AllocaIP for update/capture 2022-02-10 13:16:10 +05:30
OpenMPParsingTest.cpp [MLIR][OpenMP] Fixed the missing inclusive clause in omp.wsloop and fix order clause 2021-10-28 14:18:05 +05:30