[PATCH] D156026: [InstCombine] Contracting x^2 + 2*x*y + y^2 to (x + y)^2 (integer)

Christoph Stiller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 07:32:24 PDT 2023


rainerzufalldererste updated this revision to Diff 546828.
rainerzufalldererste added a comment.

up-to-date with main, `git-clang-format` seemed to dislike CRLF, so I'm using LF now, let's hope buildkite `clang-format` now matches with my local `clang-format`.

That said, I'm still getting this behaviour:

  $ git-clang-format HEAD~1
  The following files would be modified but have unstaged changes:
  M       llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  Please commit, stage, or stash them first.
  $ git status -uno
  Refresh index: 100% (132404/132404), done.
  On branch cstiller/patched0
  nothing to commit (use -u to show untracked files)
  $ git-clang-format HEAD~1
  changed files:
      llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  $ git status -uno
  Refresh index: 100% (132404/132404), done.
  On branch cstiller/patched0
  nothing to commit (use -u to show untracked files)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156026/new/

https://reviews.llvm.org/D156026

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/test/Transforms/InstCombine/add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156026.546828.patch
Type: text/x-patch
Size: 18390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/c17783d9/attachment.bin>


More information about the llvm-commits mailing list