[all-commits] [llvm/llvm-project] 04c456: [flang] Use `genOpenMPTerminator` to insert termin...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Dec 7 07:41:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04c4566ca19c054c26460a14270086f1fbaf9abd
https://github.com/llvm/llvm-project/commit/04c4566ca19c054c26460a14270086f1fbaf9abd
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
Log Message:
-----------
[flang] Use `genOpenMPTerminator` to insert terminator (#74719)
The specific terminator operation depends on what operation it is inside
of. The function `genOpenMPTerminator` performs these checks and selects
the appropriate type of terminator.
Remove partial duplication of that code, and replace it with a function
call. This makes `genOpenMPTerminator` be the sole source of OpenMP
terminators.
More information about the All-commits
mailing list