SuccessChanges

Summary

  1. [lit] Break main into smaller functions (details)
  2. [InstCombine] Add test case for PR43617 (NFC) (details)
  3. [ValueTracking] Improve pointer offset computation for cases of same (details)
  4. [AMDGPU] Handle undef old operand in DPP combine (details)
  5. Revert 374450 "Fix __builtin_assume_aligned with too large values." (details)
Commit 8d0744a8b57d975326c0e16f20c4f7440ef2c0e9 by jlettner
[lit] Break main into smaller functions
This change is purely mechanical.  I will do further cleanups of
parameter usages.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68830
llvm-svn: 374452
The file was modifiedllvm/utils/lit/lit/main.py
Commit 8bd42769816ad339bf64ae5ef72078739ed488a9 by e.menezes
[InstCombine] Add test case for PR43617 (NFC)
Also, refactor check in `LibCallSimplifier::optimizeLog()`.
llvm-svn: 374453
The file was modifiedllvm/test/Transforms/InstCombine/log-pow.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit 686fa4bbfbce034484fee8616d9ec7c29ed96410 by xur
[ValueTracking] Improve pointer offset computation for cases of same
base
This patch improves the handling of pointer offset in GEP expressions
where one argument is the base pointer. isPointerOffset() is being used
by memcpyopt where current code synthesizes consecutive 32 bytes stores
to one store and two memset intrinsic calls. With this patch, we convert
the stores to one memset intrinsic.
Differential Revision: https://reviews.llvm.org/D67989
llvm-svn: 374454
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was addedllvm/test/Transforms/MemCpyOpt/store-to-memset.ll
Commit 19a1a739b15d38b7488a4cabdc25a61b9e0d1fea by Stanislav.Mekhanoshin
[AMDGPU] Handle undef old operand in DPP combine
It was missing an undef flag.
Differential Revision: https://reviews.llvm.org/D68813
llvm-svn: 374455
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
Commit b556085d811027a4ed50d2a5505010c7a9ac9819 by nicolasweber
Revert 374450 "Fix __builtin_assume_aligned with too large values."
The test fails on Windows, with
  error: 'warning' diagnostics expected but not seen:
   File builtin-assume-aligned.c Line 62: requested alignment
       must be 268435456 bytes or smaller; assumption ignored
error: 'warning' diagnostics seen but not expected:
   File builtin-assume-aligned.c Line 62: requested alignment
       must be 8192 bytes or smaller; assumption ignored
llvm-svn: 374456
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/Sema/builtin-assume-aligned.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/CodeGen/CGCall.cpp