[all-commits] [llvm/llvm-project] b98d95: [clang-format] Don't rewrite the input file if alr...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Feb 20 22:53:16 PST 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: b98d95984f0eb81a5f06eeaa3df29bbb1834a04b
      https://github.com/llvm/llvm-project/commit/b98d95984f0eb81a5f06eeaa3df29bbb1834a04b
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp

  Log Message:
  -----------
  [clang-format] Don't rewrite the input file if already formatted

If IntegerLiteralSeparator is set but the integer literals are
already formatted, don't rewrite the input file.

Fixes #60651.

Differential Revision: https://reviews.llvm.org/D143831

(cherry picked from commit b4243bb611a30137f3f1a7f0e531f91d331ab4be)


  Commit: 7eac876211d1e4aa3cbcbdd8685bb4b4a128373e
      https://github.com/llvm/llvm-project/commit/7eac876211d1e4aa3cbcbdd8685bb4b4a128373e
  Author: Dmitry Makogon <d.makogon at g.nsu.ru>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M llvm/lib/Analysis/LazyValueInfo.cpp
    A llvm/test/Analysis/LazyValueAnalysis/pr60629.ll

  Log Message:
  -----------
  [LVI] Disable at-use reasoning across phi nodes (PR60629)

For phi nodes, while we can make use of the edge condition for the
incoming value, we shouldn't look past the phi node to look for
further conditions, because we might be reasoning about values
from two different cycle iterations (which will have the same
SSA value).

To handle this more specifically we would have to detect cycles,
and there doesn't seem to be any motivating case for that at this
point.


  Commit: 3c2708618167234eabe927aa493e174d92f159c8
      https://github.com/llvm/llvm-project/commit/3c2708618167234eabe927aa493e174d92f159c8
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
    A llvm/test/Transforms/Attributor/reduced/openmp_opt_constant_type_crash.ll

  Log Message:
  -----------
  [Attributor][FIX] Ensure we adjust types properly

When we simplify loads we need to adjust types (esp. null-values)
properly to avoid inconsinstencies down the line. Add a cast and an
error message.

Fixes: https://github.com/llvm/llvm-project/issues/60788


Compare: https://github.com/llvm/llvm-project/compare/babeb697ccd7...3c2708618167


More information about the All-commits mailing list