SuccessChanges

Summary

  1. [Loads] Move generic code out of vectorizer into a location it might be reused [NFC]
  2. When evaluating a __builtin_constant_p conditional, always enter constant-folding mode regardless of the original evaluation mode. In order for this to be correct, we need to track whether we're checking for a potential constant expression or checking for undefined behavior separately from the evaluation mode enum, since we don't want to clobber those states when entering constant-folding mode.
  3. [ValueTracking] Factor our common speculation suppression logic [NFC] Expose a utility function so that all places which want to suppress speculation (when otherwise legal) due to ordering and/or sanitizer interaction can do so.
  4. llvm-reduce: Simplify testing using -implicit-check-not Also fix llvm-reduce to use the specified output file name directly, without appending '.ll' to the name.
Revision 371558 by reames:
[Loads] Move generic code out of vectorizer into a location it might be reused [NFC]
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Analysis/Loads.h (diff)llvm.src/include/llvm/Analysis/Loads.h
The file was modified/llvm/trunk/lib/Analysis/Loads.cpp (diff)llvm.src/lib/Analysis/Loads.cpp
The file was modified/llvm/trunk/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp (diff)llvm.src/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
Revision 371557 by rsmith:
When evaluating a __builtin_constant_p conditional, always enter
constant-folding mode regardless of the original evaluation mode.

In order for this to be correct, we need to track whether we're checking
for a potential constant expression or checking for undefined behavior
separately from the evaluation mode enum, since we don't want to clobber
those states when entering constant-folding mode.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/AST/ExprConstant.cpp (diff)clang.src/lib/AST/ExprConstant.cpp
The file was modified/cfe/trunk/test/Sema/i-c-e.c (diff)clang.src/test/Sema/i-c-e.c
Revision 371556 by reames:
[ValueTracking] Factor our common speculation suppression logic [NFC]

Expose a utility function so that all places which want to suppress speculation (when otherwise legal) due to ordering and/or sanitizer interaction can do so.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Analysis/ValueTracking.h (diff)llvm.src/include/llvm/Analysis/ValueTracking.h
The file was modified/llvm/trunk/lib/Analysis/ValueTracking.cpp (diff)llvm.src/lib/Analysis/ValueTracking.cpp
The file was modified/llvm/trunk/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp (diff)llvm.src/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
Revision 371555 by dblaikie:
llvm-reduce: Simplify testing using -implicit-check-not

Also fix llvm-reduce to use the specified output file name directly,
without appending '.ll' to the name.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Reduce/remove-funcs.ll (diff)llvm.src/test/Reduce/remove-funcs.ll
The file was modified/llvm/trunk/test/Reduce/remove-global-vars.ll (diff)llvm.src/test/Reduce/remove-global-vars.ll
The file was modified/llvm/trunk/tools/llvm-reduce/llvm-reduce.cpp (diff)llvm.src/tools/llvm-reduce/llvm-reduce.cpp