SuccessChanges

Summary

  1. [SCEV] Make setRange take ConstantRange by value instead of rvalue reference so we don't force anything on the caller.
  2. [SCEV] Don't use std::move on both inputs to APInt::operator+ or operator-. It might be confusing to the reader. NFC
  3. ConstantFold: Handle gep nonnull, undef as well
  4. ConstantFold: Fold getelementptr (i32, i32* null, i64 undef) to null. Transforms/IndVarSimplify/2011-10-27-lftrnull will fail if this regresses. Transforms/GVN/PRE/2011-06-01-NonLocalMemdepMiscompile.ll has been changed to still test what it was trying to test.
  5. [X86][LWP] Add __LWP__ macro tests Missed in rL302418 Differential Revision: https://reviews.llvm.org/D32770
  6. [ValueTracking] Use KnownOnes to provide a better bound on known zeros for ctlz/cttz intrinics This patch uses KnownOnes of the input of ctlz/cttz to bound the value that can be returned from these intrinsics. This makes these intrinsics more similar to the handling for ctpop which already uses known bits to produce a similar bound. Differential Revision: https://reviews.llvm.org/D32521
  7. Fix grammar in comment. NFC
Revision 302449 by ctopper:
[SCEV] Make setRange take ConstantRange by value instead of rvalue reference so we don't force anything on the caller.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h (diff)llvm-revision.src/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
Revision 302448 by ctopper:
[SCEV] Don't use std::move on both inputs to APInt::operator+ or operator-. It might be confusing to the reader. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Analysis/ScalarEvolution.cpp (diff)llvm-revision.src/llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Revision 302447 by dannyb:
ConstantFold: Handle gep nonnull, undef as well
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/IR/ConstantFold.cpp (diff)llvm-revision.src/llvm/trunk/lib/IR/ConstantFold.cpp
The file was modified/llvm/trunk/test/Transforms/Inline/inline-constexpr-addrspacecast-argument.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/Inline/inline-constexpr-addrspacecast-argument.ll
Revision 302446 by dannyb:
ConstantFold: Fold  getelementptr (i32, i32* null, i64 undef) to null.
Transforms/IndVarSimplify/2011-10-27-lftrnull will fail if this regresses.
Transforms/GVN/PRE/2011-06-01-NonLocalMemdepMiscompile.ll has been changed to still test what it was
trying to test.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/IR/ConstantFold.cpp (diff)llvm-revision.src/llvm/trunk/lib/IR/ConstantFold.cpp
The file was modified/llvm/trunk/test/Transforms/GVN/PRE/2011-06-01-NonLocalMemdepMiscompile.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/GVN/PRE/2011-06-01-NonLocalMemdepMiscompile.ll
The file was modified/llvm/trunk/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll
Revision 302445 by rksimon:
[X86][LWP] Add __LWP__ macro tests

Missed in rL302418

Differential Revision: https://reviews.llvm.org/D32770
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/Preprocessor/predefined-arch-macros.c (diff)llvm-revision.src/cfe/trunk/test/Preprocessor/predefined-arch-macros.c
The file was modified/cfe/trunk/test/Preprocessor/x86_target_features.c (diff)llvm-revision.src/cfe/trunk/test/Preprocessor/x86_target_features.c
Revision 302444 by ctopper:
[ValueTracking] Use KnownOnes to provide a better bound on known zeros for ctlz/cttz intrinics

This patch uses KnownOnes of the input of ctlz/cttz to bound the value that can be returned from these intrinsics. This makes these intrinsics more similar to the handling for ctpop which already uses known bits to produce a similar bound.

Differential Revision: https://reviews.llvm.org/D32521
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Analysis/ValueTracking.cpp (diff)llvm-revision.src/llvm/trunk/lib/Analysis/ValueTracking.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/intrinsics.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/InstCombine/intrinsics.ll
Revision 302443 by jroelofs:
Fix grammar in comment. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/Misc/warning-flags.c (diff)llvm-revision.src/cfe/trunk/test/Misc/warning-flags.c