SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [NFC] Fixes -Wrange-loop-analysis warnings (details)
  2. [msan] Fix underflow in qsort interceptor. (details)
  3. [CodeGen][ObjC] Push the properties of a protocol before pushing the (details)
  4. AMDGPU/GlobalISel: Legalize G_READCYCLECOUNTER (details)
  5. [WebAssembly] Fix landingpad-only case in Emscripten EH (details)
  6. AMDGPU: Use default operands for clamp/omod (details)
Commit 5e0e0e3ff05f57b9495db57b6b205492d34cb5a8 by koraq
[NFC] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
The file was modifiedllvm/unittests/Support/ReverseIterationTest.cpp
Commit 7ba4595c86be88bf9ebb7261ba49ed4626e5f585 by eugenis
[msan] Fix underflow in qsort interceptor.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
The file was modifiedcompiler-rt/test/msan/qsort.cpp
Commit 20f005d25f488fa1dc69d6792700e014c6a5d165 by Akira
[CodeGen][ObjC] Push the properties of a protocol before pushing the
properties of the protocol it inherits
This fixes a bug where the type string for a @dynamic property of an
@implementation didn't have 'D' in it when the protocol it conforms to
redeclares the property declared in the base protocol.
rdar://problem/45503561
The file was modifiedclang/test/CodeGenObjC/encode-test-2.m
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
Commit 52afc93c38c4dc6071172e2f580d364592d92dda by arsenm2
AMDGPU/GlobalISel: Legalize G_READCYCLECOUNTER
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/readcyclecounter.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 21f7b362095f7497aa87ccc334fe18bbc072854c by aheejin
[WebAssembly] Fix landingpad-only case in Emscripten EH
Summary: Previously we didn't set `Changed` to true when there are only
landing pads but not invokes. This fixes it and we set `Changed` to true
whenever we have landing pads. (There can't be invokes without landing
pads, so that case is covered too)
The test case for this has to be a separate file because this pass is a
`ModulePass` and `Changed` is computed based on the whole module.
Reviewers: tlively
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72308
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
The file was addedllvm/test/CodeGen/WebAssembly/lower-em-exceptions-lpad-only.ll
Commit e93b1ffc8490d943690726370a0e9277fd78520d by arsenm2
AMDGPU: Use default operands for clamp/omod
We have a lot of complex pattern variants that just set the source
modifiers that are really handled, and then set the output modifiers to
0. We're unlikely to ever match output modifiers from the use
instruction side, and we already match clamp/omod in a separate pass.
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td