SuccessChanges

Summary

  1. [NFC][regalloc] Simplify/conform to style guide indvars in Greedy (details)
  2. Version 0.5 of the new "TableGen Backend Developer's Guide." (details)
  3. [Analyzer][WebKit] UncountedLocalVarsChecker (details)
  4. [gn build] Port 848d66fafd2 (details)
  5. [gn build] Port 8a64689e264 (details)
  6. [clang] Fix a typo-correction crash (details)
  7. [test][MC] Rehabilitate llvm/test/MC/COFF/bigobj.py (details)
  8. [NFC] Replace tabs with spaces in PPCInstrPrefix.td (details)
  9. [InstCombine] For pow(x, +/-0.5), stop falling into pow(x, 1.5), etc. case (details)
  10. [lldb] Skip test_common_completion_process_pid_and_name with reproducers (details)
  11. [lldb] Skip TestMiniDumpUUID with reproducers (details)
  12. [LoopInfo][NewPM] Fix tests in Analysis/LoopInfo under NPM (details)
Commit d1e0f9f3cf13e071d788149bde810c46cd14c74b by mtrofin
[NFC][regalloc] Simplify/conform to style guide indvars in Greedy

Differential Revision: https://reviews.llvm.org/D88055
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp (diff)
Commit 848d66fafd2ee4c15292fa5dd25ca752a3f65537 by paul
Version 0.5 of the new "TableGen Backend Developer's Guide."
Files modified to take comments into account.
MLIR documentation updated for new TableGen documentation files.
The file was modifiedllvm/docs/TableGen/BackEnds.rst (diff)
The file was addedllvm/lib/TableGen/TableGenBackendSkeleton.cpp
The file was modifiedmlir/docs/Tutorials/QuickstartRewrites.md (diff)
The file was modifiedllvm/docs/TableGen/ProgRef.rst (diff)
The file was modifiedllvm/lib/TableGen/CMakeLists.txt (diff)
The file was modifiedmlir/docs/OpDefinitions.md (diff)
The file was addedllvm/docs/TableGen/BackGuide.rst
Commit 8a64689e264ce039e4fb0a09c3e136a1c8451838 by Jan Korous
[Analyzer][WebKit] UncountedLocalVarsChecker

Differential Review: https://reviews.llvm.org/D83259
The file was addedclang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td (diff)
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CMakeLists.txt (diff)
The file was addedclang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
The file was modifiedclang/docs/analyzer/checkers.rst (diff)
Commit a75f75415aaeee4159c1771d946bb4ae957d7a74 by llvmgnsyncbot
[gn build] Port 848d66fafd2
The file was modifiedllvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn (diff)
Commit 5ae94047bff1e2c92f9507443bf97ff39ee8243b by llvmgnsyncbot
[gn build] Port 8a64689e264
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn (diff)
Commit 16ca711803300bd966acf8759876a1ccd478c616 by hokein.wu
[clang] Fix a typo-correction crash

We leave a dangling TypoExpr when typo-correction is performed
successfully in `checkArgsForPlaceholders`, which leads a crash in the
later TypoCorrection.

This code was added in https://github.com/llvm/llvm-project/commit/1586782767938df3a20f7abc4d8335c48b100bc4,
and it didn't seem to have enough test coverage.
The fix is to remove this part, and no failuer tests.

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D87815
The file was modifiedclang/test/SemaCXX/typo-correction-crash.cpp (diff)
The file was modifiedclang/lib/Sema/SemaExpr.cpp (diff)
Commit a6f8aeb51c731ce01b995725cbda3f9be9059ab0 by hubert.reinterpretcast
[test][MC] Rehabilitate llvm/test/MC/COFF/bigobj.py

The subject test was not actually running. This patch adds the
relevant suffix to the list of lit case filename extensions for the
enclosing directory.

Minor adjustments are also made to deal with bit rot.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D87122
The file was modifiedllvm/test/MC/COFF/lit.local.cfg (diff)
The file was modifiedllvm/test/MC/COFF/bigobj.py (diff)
Commit b0f58aa116a1ac2c2fa6b1667017bb29b3418411 by hubert.reinterpretcast
[NFC] Replace tabs with spaces in PPCInstrPrefix.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td (diff)
Commit 6801950192ff4f6d60c822fc721354f34e609e7a by hubert.reinterpretcast
[InstCombine] For pow(x, +/-0.5), stop falling into pow(x, 1.5), etc. case

The current code for handling pow(x, y) where y is an integer plus 0.5
is not explicitly guarded against attempting to transform the case where
abs(y) is exactly 0.5.

The latter case is meant to be handled by `replacePowWithSqrt`. Indeed,
if the pow(x, integer+0.5) case proceeds past a certain point, it will
hit an assertion by attempting to form pow(x, 0) using `getPow`.

This patch adds an explicit check to prevent attempting the
pow(x, integer+0.5) transformation on pow(x, +/-0.5) as suggested during
the review of D87877. This has the effect of retaining the shrinking of
`pow` to `powf` when the `sqrt` libcall cannot be formed.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D88066
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/pow-4.ll (diff)
Commit 8457ae0d9359590b2db1e8e090531197be4d62c6 by Jonas Devlieghere
[lldb] Skip test_common_completion_process_pid_and_name with reproducers

This test launches a subprocess which will have a different PID during
capture and replay.
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py (diff)
Commit 783dc7dc7ed7487d0782c2feb8854df949b98e69 by Jonas Devlieghere
[lldb] Skip TestMiniDumpUUID with reproducers

The modules not getting orphaned is wreaking havoc when the UUIDs match
between tests.
The file was modifiedlldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py (diff)
Commit a5141b83f1f1b94886d17c9091f09d4c63568dd2 by aeubanks
[LoopInfo][NewPM] Fix tests in Analysis/LoopInfo under NPM
The file was modifiedllvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll (diff)
The file was modifiedllvm/test/Analysis/LoopInfo/annotated-parallel-simple.ll (diff)
The file was modifiedllvm/test/Analysis/LoopInfo/annotated-parallel-complex.ll (diff)