[all-commits] [llvm/llvm-project] 8c2399: [fir] Add fir.select and fir.select_rank FIR to LL...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Fri Nov 5 04:55:06 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c239909495eafac9f9f765af70bbea660af6d6c
https://github.com/llvm/llvm-project/commit/8c239909495eafac9f9f765af70bbea660af6d6c
Author: Valentin Clement <clementval at gmail.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/convert-to-llvm.fir
Log Message:
-----------
[fir] Add fir.select and fir.select_rank FIR to LLVM IR conversion patterns
The `fir.select` and `fir.select_rank` are lowered to llvm.switch.
This patch is part of the upstreaming effort from fir-dev branch.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D113089
Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
More information about the All-commits
mailing list