[all-commits] [llvm/llvm-project] 8dea00: [flang] Add hlfir.concat operation definition
jeanPerier via All-commits
all-commits at lists.llvm.org
Fri Nov 25 00:35:34 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8dea00f4e79b7e19ab5d1adc728a0379c7f39d9e
https://github.com/llvm/llvm-project/commit/8dea00f4e79b7e19ab5d1adc728a0379c7f39d9e
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-11-25 (Fri, 25 Nov 2022)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/HLFIRDialect.h
M flang/include/flang/Optimizer/HLFIR/HLFIROpBase.td
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/lib/Optimizer/HLFIR/IR/HLFIRDialect.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
A flang/test/HLFIR/concat.fir
M flang/test/HLFIR/invalid.fir
Log Message:
-----------
[flang] Add hlfir.concat operation definition
This operation represents scalar character concatenation. This is
added as part of flang lowering update described in
https://github.com/llvm/llvm-project/blob/main/flang/docs/HighLevelFIR.md
A notable difference with Fortran concatenation is that hlfir.concat can
take two or more operands. This will be used to optimize concatenation
chains.
Differential Revision: https://reviews.llvm.org/D138650
More information about the All-commits
mailing list