SuccessChanges

Summary

  1. gn build: Merge r366622
  2. [NFC][InstCombine] Autogenerate a few tests
  3. [NFC][InstCombine] Add srem-by-signbit tests - still can fold to bittest https://rise4fun.com/Alive/IIeS
  4. [NFC][Codegen][X86][AArch64] Add "(x s% C) == 0" tests Much like with `urem`, the same optimization (albeit with slightly different algorithm) applies for the signed case, too. I'm simply copying the test coverage from `urem` case for now, i believe it should be (close to?) sufficient.
Revision 366646 by nico:
gn build: Merge r366622
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gntrunk/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
Revision 366643 by lebedevri:
[NFC][InstCombine] Autogenerate a few tests
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Transforms/InstCombine/2008-12-17-SRemNegConstVec.lltrunk/test/Transforms/InstCombine/2008-12-17-SRemNegConstVec.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/2009-06-16-SRemDemandedBits.lltrunk/test/Transforms/InstCombine/2009-06-16-SRemDemandedBits.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/2010-01-28-NegativeSRem.lltrunk/test/Transforms/InstCombine/2010-01-28-NegativeSRem.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/add4.lltrunk/test/Transforms/InstCombine/add4.ll
Revision 366642 by lebedevri:
[NFC][InstCombine] Add srem-by-signbit tests - still can fold to bittest

https://rise4fun.com/Alive/IIeS
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Transforms/InstCombine/rem.lltrunk/test/Transforms/InstCombine/rem.ll
Revision 366640 by lebedevri:
[NFC][Codegen][X86][AArch64] Add "(x s% C) == 0" tests

Much like with `urem`, the same optimization (albeit with slightly
different algorithm) applies for the signed case, too.

I'm simply copying the test coverage from `urem` case for now,
i believe it should be (close to?) sufficient.
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/CodeGen/AArch64/srem-seteq-optsize.lltrunk/test/CodeGen/AArch64/srem-seteq-optsize.ll
The file was added/llvm/trunk/test/CodeGen/AArch64/srem-seteq-vec-nonsplat.lltrunk/test/CodeGen/AArch64/srem-seteq-vec-nonsplat.ll
The file was added/llvm/trunk/test/CodeGen/AArch64/srem-seteq-vec-splat.lltrunk/test/CodeGen/AArch64/srem-seteq-vec-splat.ll
The file was added/llvm/trunk/test/CodeGen/AArch64/srem-seteq.lltrunk/test/CodeGen/AArch64/srem-seteq.ll
The file was added/llvm/trunk/test/CodeGen/X86/srem-seteq-optsize.lltrunk/test/CodeGen/X86/srem-seteq-optsize.ll
The file was added/llvm/trunk/test/CodeGen/X86/srem-seteq-vec-nonsplat.lltrunk/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
The file was added/llvm/trunk/test/CodeGen/X86/srem-seteq-vec-splat.lltrunk/test/CodeGen/X86/srem-seteq-vec-splat.ll
The file was added/llvm/trunk/test/CodeGen/X86/srem-seteq.lltrunk/test/CodeGen/X86/srem-seteq.ll

Summary

  1. [Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer' with '-mframe-pointer' After D56351 and D64294, frame pointer handling is migrated to tri-state (all, non-leaf, none) in clang driver and on the function attribute. This patch makes the frame pointer handling cc1 option tri-state. Reviewers: chandlerc, rnk, t.p.northover, MaskRay Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D56353
Revision 366645 by yuanfang:
[Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer'
with '-mframe-pointer'

After D56351 and D64294, frame pointer handling is migrated to tri-state
(all, non-leaf, none) in clang driver and on the function attribute.
This patch makes the frame pointer handling cc1 option tri-state.

Reviewers: chandlerc, rnk, t.p.northover, MaskRay

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D56353
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/CodeGenOptions.deftrunk/include/clang/Basic/CodeGenOptions.def
The file was modified/cfe/trunk/include/clang/Basic/CodeGenOptions.htrunk/include/clang/Basic/CodeGenOptions.h
The file was modified/cfe/trunk/include/clang/Driver/CC1Options.tdtrunk/include/clang/Driver/CC1Options.td
The file was modified/cfe/trunk/include/clang/Driver/Options.tdtrunk/include/clang/Driver/Options.td
The file was modified/cfe/trunk/lib/CodeGen/CGCall.cpptrunk/lib/CodeGen/CGCall.cpp
The file was modified/cfe/trunk/lib/Driver/ToolChains/Clang.cpptrunk/lib/Driver/ToolChains/Clang.cpp
The file was modified/cfe/trunk/lib/Frontend/CompilerInvocation.cpptrunk/lib/Frontend/CompilerInvocation.cpp
The file was modified/cfe/trunk/test/CodeGen/msp430-fp-elim.ctrunk/test/CodeGen/msp430-fp-elim.c
The file was modified/cfe/trunk/test/CodeGen/x86_64-profiling-keep-fp.ctrunk/test/CodeGen/x86_64-profiling-keep-fp.c
The file was modified/cfe/trunk/test/CodeGen/xcore-abi.ctrunk/test/CodeGen/xcore-abi.c
The file was modified/cfe/trunk/test/CodeGen/xcore-abi.cpptrunk/test/CodeGen/xcore-abi.cpp
The file was modified/cfe/trunk/test/CodeGenCXX/global-init.cpptrunk/test/CodeGenCXX/global-init.cpp
The file was modified/cfe/trunk/test/CodeGenObjCXX/msabi-stret.mmtrunk/test/CodeGenObjCXX/msabi-stret.mm
The file was modified/cfe/trunk/test/Driver/cl-options.ctrunk/test/Driver/cl-options.c
The file was modified/cfe/trunk/test/Driver/clang-translation.ctrunk/test/Driver/clang-translation.c
The file was modified/cfe/trunk/test/Driver/frame-pointer-elim.ctrunk/test/Driver/frame-pointer-elim.c
The file was modified/cfe/trunk/test/Driver/frame-pointer.ctrunk/test/Driver/frame-pointer.c
The file was modified/cfe/trunk/test/Driver/woa-fp.ctrunk/test/Driver/woa-fp.c
The file was modified/cfe/trunk/test/Driver/xcore-opts.ctrunk/test/Driver/xcore-opts.c

Summary

  1. Fix asan infinite loop on undefined symbol Fix llvm#39641 Recommit of r366413 Differential Revision: https://reviews.llvm.org/D63877 llvm-svn: 366632
Revision 366638 by serge_sans_paille:
Fix asan infinite loop on undefined symbol

Fix llvm#39641

Recommit of r366413

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

llvm-svn: 366632
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/interception/interception_linux.cctrunk/lib/interception/interception_linux.cc
The file was added/compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.ctrunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c