SuccessChanges

Summary

  1. [InstCombine] Simplify and inline FoldOrWithConstants/FoldXorWithConstants Summary: These functions were overly complicated. The body of this function was rechecking for an And operation to find the constant, but we already knew we were looking at two Ands ORed together and the pieces are in variables. We already had earlier nearby code that checked for ConstantInts. So just inline the remaining parts into the earlier code. Next step is to use m_APInt instead of ConstantInt. Reviewers: spatel, efriedma, davide, majnemer Reviewed By: spatel Subscribers: zzheng, llvm-commits Differential Revision: https://reviews.llvm.org/D36439
  2. Rename cxx1z -> cxx17 across all diagnostic IDs.
Revision 310806 by ctopper:
[InstCombine] Simplify and inline FoldOrWithConstants/FoldXorWithConstants

Summary:
These functions were overly complicated. The body of this function was rechecking for an And operation to find the constant, but we already knew we were looking at two Ands ORed together and the pieces are in variables. We already had earlier nearby code that checked for ConstantInts. So just inline the remaining parts into the earlier code.

Next step is to use m_APInt instead of ConstantInt.

Reviewers: spatel, efriedma, davide, majnemer

Reviewed By: spatel

Subscribers: zzheng, llvm-commits

Differential Revision: https://reviews.llvm.org/D36439
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cppllvm.src/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Revision 310805 by rsmith:
Rename cxx1z -> cxx17 across all diagnostic IDs.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticLexKinds.tdclang.src/include/clang/Basic/DiagnosticLexKinds.td
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticParseKinds.tdclang.src/include/clang/Basic/DiagnosticParseKinds.td
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.tdclang.src/include/clang/Basic/DiagnosticSemaKinds.td
The file was modified/cfe/trunk/include/clang/Basic/LangOptions.defclang.src/include/clang/Basic/LangOptions.def
The file was modified/cfe/trunk/include/clang/Basic/TokenKinds.defclang.src/include/clang/Basic/TokenKinds.def
The file was modified/cfe/trunk/lib/Lex/LiteralSupport.cppclang.src/lib/Lex/LiteralSupport.cpp
The file was modified/cfe/trunk/lib/Parse/ParseDeclCXX.cppclang.src/lib/Parse/ParseDeclCXX.cpp
The file was modified/cfe/trunk/lib/Parse/ParseExprCXX.cppclang.src/lib/Parse/ParseExprCXX.cpp
The file was modified/cfe/trunk/lib/Sema/SemaDecl.cppclang.src/lib/Sema/SemaDecl.cpp
The file was modified/cfe/trunk/lib/Sema/SemaDeclAttr.cppclang.src/lib/Sema/SemaDeclAttr.cpp
The file was modified/cfe/trunk/lib/Sema/SemaLambda.cppclang.src/lib/Sema/SemaLambda.cpp
The file was modified/cfe/trunk/lib/Sema/SemaStmtAttr.cppclang.src/lib/Sema/SemaStmtAttr.cpp