[all-commits] [llvm/llvm-project] cc3cc5: [flang][NFC] simplify dispatching of reduction run...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Oct 1 01:10:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc3cc5edbec74255254a447dd0efb7ce398e2244
https://github.com/llvm/llvm-project/commit/cc3cc5edbec74255254a447dd0efb7ce398e2244
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M flang/include/flang/Optimizer/Support/Utils.h
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
Log Message:
-----------
[flang][NFC] simplify dispatching of reduction runtime calls (#110479)
As part of t[he RFC to replace fir.complex usages by mlir
complex](https://discourse.llvm.org/t/rfc-flang-replace-usages-of-fir-complex-by-mlir-complex-type/82292),
this patch updates the type dispatch in Reduction.cpp to use macros to
avoid naming the types everywhere and to avoid typos when copy-pasting
the if/else chains.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list