FailedChanges

Summary

  1. Merge and improve code that detects same value in comparisons. -Wtautological-overlap-compare and self-comparison from -Wtautological-compare relay on detecting the same operand in different locations. Previously, each warning had it's own operand checker. Now, both are merged together into one function that each can call. The function also now looks through member access and array accesses. Differential Revision: https://reviews.llvm.org/D66045
  2. Revert assertion added by r372394 The assertion added by r372394 causes CUDA test in test-suite to assert. The assertion was not there originally, so revert it.
  3. avr targetinfo: remove unneeded dep on MC
  4. AMDGPU/GlobalISel: Allow selection of scalar min/max I believe all of the uniform/divergent pattern predicates are redundant and can be removed. The uniformity bit already influences the register class, and nothhing has broken when I've removed this and others.
  5. LiveIntervals: Add missing operator!= for segments
  6. Improve -Wtautological-overlap-compare Allow this warning to detect a larger number of constant values, including negative numbers, and handle non-int types better. Differential Revision: https://reviews.llvm.org/D66044
Revision 372453 by rtrieu:
Merge and improve code that detects same value in comparisons.

-Wtautological-overlap-compare and self-comparison from -Wtautological-compare
relay on detecting the same operand in different locations.  Previously, each
warning had it's own operand checker.  Now, both are merged together into
one function that each can call.  The function also now looks through member
access and array accesses.

Differential Revision: https://reviews.llvm.org/D66045
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/docs/ReleaseNotes.rst (diff)clang.src/docs/ReleaseNotes.rst
The file was modified/cfe/trunk/include/clang/AST/Expr.h (diff)clang.src/include/clang/AST/Expr.h
The file was modified/cfe/trunk/lib/AST/Expr.cpp (diff)clang.src/lib/AST/Expr.cpp
The file was modified/cfe/trunk/lib/Analysis/CFG.cpp (diff)clang.src/lib/Analysis/CFG.cpp
The file was modified/cfe/trunk/lib/Sema/SemaExpr.cpp (diff)clang.src/lib/Sema/SemaExpr.cpp
The file was modified/cfe/trunk/test/Analysis/array-struct-region.cpp (diff)clang.src/test/Analysis/array-struct-region.cpp
The file was modified/cfe/trunk/test/Sema/warn-overlap.c (diff)clang.src/test/Sema/warn-overlap.c
The file was modified/cfe/trunk/test/SemaCXX/compare-cxx2a.cpp (diff)clang.src/test/SemaCXX/compare-cxx2a.cpp
The file was modified/cfe/trunk/test/SemaCXX/self-comparison.cpp (diff)clang.src/test/SemaCXX/self-comparison.cpp
Revision 372452 by yaxunl:
Revert assertion added by r372394

The assertion added by r372394 causes CUDA test in test-suite to assert.

The assertion was not there originally, so revert it.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Sema/SemaCUDA.cpp (diff)clang.src/lib/Sema/SemaCUDA.cpp
Revision 372451 by nico:
avr targetinfo: remove unneeded dep on MC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AVR/TargetInfo/LLVMBuild.txt (diff)llvm.src/lib/Target/AVR/TargetInfo/LLVMBuild.txt
Revision 372450 by arsenm:
AMDGPU/GlobalISel: Allow selection of scalar min/max

I believe all of the uniform/divergent pattern predicates are
redundant and can be removed. The uniformity bit already influences
the register class, and nothhing has broken when I've removed this and
others.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/SOPInstructions.td (diff)llvm.src/lib/Target/AMDGPU/SOPInstructions.td
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-smax.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-smax.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-smin.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-smin.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-umax.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-umax.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-umin.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-umin.mir
Revision 372449 by arsenm:
LiveIntervals: Add missing operator!= for segments
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/LiveInterval.h (diff)llvm.src/include/llvm/CodeGen/LiveInterval.h
Revision 372448 by rtrieu:
Improve -Wtautological-overlap-compare

Allow this warning to detect a larger number of constant values, including
negative numbers, and handle non-int types better.

Differential Revision: https://reviews.llvm.org/D66044
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/docs/ReleaseNotes.rst (diff)clang.src/docs/ReleaseNotes.rst
The file was modified/cfe/trunk/lib/Analysis/CFG.cpp (diff)clang.src/lib/Analysis/CFG.cpp
The file was modified/cfe/trunk/lib/Analysis/ReachableCode.cpp (diff)clang.src/lib/Analysis/ReachableCode.cpp
The file was modified/cfe/trunk/test/Analysis/cfg.cpp (diff)clang.src/test/Analysis/cfg.cpp
The file was modified/cfe/trunk/test/Sema/warn-overlap.c (diff)clang.src/test/Sema/warn-overlap.c
The file was modified/cfe/trunk/test/Sema/warn-unreachable.c (diff)clang.src/test/Sema/warn-unreachable.c
The file was modified/cfe/trunk/test/SemaCXX/warn-unreachable.cpp (diff)clang.src/test/SemaCXX/warn-unreachable.cpp