SuccessChanges

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

Summary

  1. [PowerPC] Fix ICE when truncating some vectors (details)
  2. [ASTImporter] Import additional flags for functions. (details)
  3. [NFC][InstCombine] Non-canonical clamp pattern: non-canonical predicate (details)
Commit 4fb99a3330e9a8b1ab967bdb3c04ed2f8b5e1f5e by qiucofan
[PowerPC] Fix ICE when truncating some vectors
The legalizer would hit an assertion on PowerPC platform when truncating
a vector whose size is not power of 2.  This patch is to add a check to
prevent vectors with such odd-size elements from being custom lowered.
Reviewed By: Hal Finkel
Differential Revision: https://reviews.llvm.org/D65261
llvm-svn: 368654
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/pr25080.ll
Commit b427c061ad10a2e111ec2e3a63776c4b126faf30 by 1.int32
[ASTImporter] Import additional flags for functions.
Summary: At AST import of function delcarations import the flags for
defaulted and deleted.
Reviewers: martong, a.sidorin, shafik, a_sidorin
Reviewed By: a_sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65999
llvm-svn: 368655
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit 09eb71ced3b80211f3997bd7bc2844c61cd265c7 by lebedev.ri
[NFC][InstCombine] Non-canonical clamp pattern: non-canonical predicate
tests
We can't handle 'uge' case because we can't ever get it, there needs to
be extra use on that compare or else it will be canonicalized, but
because of extra use we can't handle it.
'sge' case we can have.
llvm-svn: 368656
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll