aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorDaniel Chen <cdchen@ca.ibm.com>2024-05-02 10:04:24 -0400
committerGitHub <noreply@github.com>2024-05-02 10:04:24 -0400
commitd6173167df31388869d22751fdd745f5da928ef7 (patch)
treed34ddc252239b574875a14d95995cfc1a02c8a08 /llvm/lib/Transforms/Utils/CloneFunction.cpp
parent3fe282a83d2bcc23f1a3f9bc47682f7c4bfc9b88 (diff)
downloadllvm-d6173167df31388869d22751fdd745f5da928ef7.zip
llvm-d6173167df31388869d22751fdd745f5da928ef7.tar.gz
llvm-d6173167df31388869d22751fdd745f5da928ef7.tar.bz2
[Flang] Get fir::SequenceType from hlfir::ExprType before getShape. (#90055)
This PR is to fix issue #88889 . Because the type of an actual argument of an array expression of character has type of `hlfir::ExprType`, we need to transform it to `fir::SequenceType` before calling `getBoxTypeWithNewShape`. Calling `hlfir::ExprType::getShape` inside of `getBoxTypeWithNewShape` will introduce a circular dependency on FIRDialect and HLFIRDialect libraries.
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions