aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/CAPI/Dialect/MathPasses.cpp
diff options
context:
space:
mode:
authorMatt <MattPD@users.noreply.github.com>2026-02-05 03:10:37 -0600
committerGitHub <noreply@github.com>2026-02-05 10:10:37 +0100
commit4f2db80f19a80856e1da08386194f00a7436bc0d (patch)
tree40f2d497abf786fd7e605f63da38babac792a7a0 /mlir/lib/CAPI/Dialect/MathPasses.cpp
parent209ff8bf06dd12becd79c1ebb01612c021e19f6c (diff)
downloadllvm-4f2db80f19a80856e1da08386194f00a7436bc0d.zip
llvm-4f2db80f19a80856e1da08386194f00a7436bc0d.tar.gz
llvm-4f2db80f19a80856e1da08386194f00a7436bc0d.tar.bz2
[flang] Use alias analysis in lowering record assignments (#176483)
Without alias analysis Flang assumes no aliasing in lowering record assignments which can result in miscompilation of programs using SEQUENCE types and EQUIVALENCE. Represent `SEQUENCE` in fir.type. For `SEQUENCE` types, use alias analysis to guard the fast path in `genRecordAssignment`; otherwise fall back to element-wise expansion. Update FIR FileCheck expectations Add `FIRAnalysis` to `"flang/unittests/Optimizer/CMakeLists.txt"` to fix the Windows x64 build failure (linker error). Fixes #175246. Co-authored-by: Matt P. Dziubinski <matt-p.dziubinski@hpe.com>
Diffstat (limited to 'mlir/lib/CAPI/Dialect/MathPasses.cpp')
0 files changed, 0 insertions, 0 deletions