[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
Tue Aug 1 12:28:48 PDT 2023


rainerzufalldererste updated this revision to Diff 546175.
rainerzufalldererste marked an inline comment as done.
rainerzufalldererste added a comment.

running `clang-format` on just this file seems to change way more for me than just the touched lines and `git clang-format` or `git diff -U0 --no-color --relative main | clang-format-diff.py -p1 -i` doesn't seem to change any of the files, so I'm a bit puzzled. However, I've removed two unused variables.


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.546175.patch
Type: text/x-patch
Size: 18439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230801/5c747106/attachment.bin>


More information about the llvm-commits mailing list