aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBoyana Norris <brnorris03@gmail.com>2025-08-14 09:19:16 -0700
committerGitHub <noreply@github.com>2025-08-14 17:19:16 +0100
commit1945753700dc9e1ba526cc2078296518b7c93e8c (patch)
tree85728339b6e4b0c46eee2497ff87563b203e0573 /flang/lib/Frontend/CompilerInvocation.cpp
parentec237da212a4d2a18ddb82486a8b4cb170e98319 (diff)
downloadllvm-1945753700dc9e1ba526cc2078296518b7c93e8c.zip
llvm-1945753700dc9e1ba526cc2078296518b7c93e8c.tar.gz
llvm-1945753700dc9e1ba526cc2078296518b7c93e8c.tar.bz2
[mlir][linalg] Fix incorrect linalg short form printing (#153219)
Both `linalg.map` and `linalg.reduce` are sometimes printed in short form incorrectly, resulting in a round-trip output with different semantics. This patch adds additional `yield` operand checks to ensure that all criteria for short-form printing are satisfied. Updated/added comments and renamed the `findPayloadOp` function to `canUseShortForm`, which more accurately reflects its purpose. A couple of new lit tests check for the proper use of long form when short-form conditions are not met. Fixes #117528
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions