Creating release candidate rc2 from release_501 branch

llvm-svn: 319287
llvm-svn: 319286
llvm-svn: 319285
llvm-svn: 319284
llvm-svn: 319283
llvm-svn: 319282
llvm-svn: 319281
llvm-svn: 319280
llvm-svn: 319279
llvm-svn: 319277
llvm-svn: 319276
Merging r316035:

------------------------------------------------------------------------
r316035 | tnorthover | 2017-10-17 14:43:52 -0700 (Tue, 17 Oct 2017) | 6 lines

AArch64: account for possible frame index operand in compares.

If the address of a local is used in a comparison, AArch64 can fold the
address-calculation into the comparison via "adds". Unfortunately, a couple of
places (both hit in this one test) are not ready to deal with that yet and just
assume the first source operand is a register.
------------------------------------------------------------------------

llvm-svn: 319231
3 files changed