Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [lldb/test] Reformat Objective-C data-formatter source file (NFC) (details)
  2. [MLIR] Fix affine fusion bug/efficiency issue / enable more fusion (details)
Commit f058d397ff8e5a42bc7dd195cf7234d4d438a9f4 by medismail.bennani
[lldb/test] Reformat Objective-C data-formatter source file (NFC)

The source file used to test Objective-C data-formatters didn't respected
any formatting (mixed tab and spaces, lines exceed column 80, etc...).

This patch reformats the file using clang-format to make it easier to
work with.

Signed-off-by: Med Ismail Bennani <>
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m
Commit 2affcd664e6a1cab81dac284110bcf9a010d30b2 by uday
[MLIR] Fix affine fusion bug/efficiency issue / enable more fusion

The list of destination load ops while evaluating producer-consumer
fusion wasn't being maintained as a set, and as such, duplicate load ops
were being added to it. Although this is harmless correctness-wise, it's
a killer efficiency-wise and it prevents interesting/useful fusions
(including for eg. reshapes into a matmul). The reason the latter
fusions would be missed is that a slice union would be unnecessarily
needed due to the duplicate load ops on a memref added to the 'dst
loads' list. Since slice union is unimplemented for the local var case,
a single destination load op that leads to local vars (like a floordiv /
mod producing fusion), a common case, would not get fused due to an
unnecessary union being tried with itself.  (The union would actually be
the same thing but we would bail out.)

Besides the above, this would also significantly speed up fusion as all
the unnecessary slice computations / unions, checks, etc. due to the
duplicates go away.

Differential Revision:
The file was modifiedmlir/test/Transforms/loop-fusion.mlir
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp