FailedChanges

Summary

  1. [DAGCombiner][X86] Pass the CmpOpVT to reduceSelectOfFPConstantLoads so X86 can exclude fp128 compares. The X86 decision assumes the compare will produce a result in an XMM register, but that can't happen for an fp128 compare since those go to a libcall the returns an i32. Pass the VT so X86 can check the type.
  2. [ConstantFolding] Expand folding of some library functions Expanding the folding of `nearbyint()`, `rint()` and `trunc()` to library functions, in addition to the current support for intrinsics. Differential revision: https://reviews.llvm.org/D67468
  3. [ClangTidy] Adjust the name getCheckName to getCheckerName due to API change.
  4. Fix llvm-reduce tests so that they don't assume the source code is writable. Instead of copying over the original file permissions, just create a new file and add the executable bit.
  5. [SelectionDAGBuilder] Simplify loop in visitSelect back to how it was before r255558. This code was changed to accomodate fp128 being softened to itself during type legalization on x86-64. This was done in order to create libcalls while having fp128 as a legal type. We're now doing the libcall creation during LegalizeDAG and the type legalization changes to enable the old behavior have been removed. So this change to SelectionDAGBuilder is no longer needed.
Revision 371775 by ctopper:
[DAGCombiner][X86] Pass the CmpOpVT to reduceSelectOfFPConstantLoads so X86 can exclude fp128 compares.

The X86 decision assumes the compare will produce a result in an XMM
register, but that can't happen for an fp128 compare since those
go to a libcall the returns an i32. Pass the VT so X86 can check
the type.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/TargetLowering.h (diff)llvm.src/include/llvm/CodeGen/TargetLowering.h
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.h (diff)llvm.src/lib/Target/X86/X86ISelLowering.h
The file was modified/llvm/trunk/test/CodeGen/X86/fp128-i128.ll (diff)llvm.src/test/CodeGen/X86/fp128-i128.ll
Revision 371774 by evandro:
[ConstantFolding] Expand folding of some library functions

Expanding the folding of `nearbyint()`, `rint()` and `trunc()` to library
functions, in addition to the current support for intrinsics.

Differential revision: https://reviews.llvm.org/D67468
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Analysis/ConstantFolding.cpp (diff)llvm.src/lib/Analysis/ConstantFolding.cpp
The file was added/llvm/trunk/test/Analysis/ConstantFolding/rint.llllvm.src/test/Analysis/ConstantFolding/rint.ll
The file was added/llvm/trunk/test/Analysis/ConstantFolding/round.llllvm.src/test/Analysis/ConstantFolding/round.ll
The file was added/llvm/trunk/test/Analysis/ConstantFolding/trunc.llllvm.src/test/Analysis/ConstantFolding/trunc.ll
The file was removed/llvm/trunk/test/Transforms/InstCombine/round.llllvm.src/test/Transforms/InstCombine/round.ll
Revision 371773 by timshen:
[ClangTidy] Adjust the name getCheckName to getCheckerName due to API change.
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp (diff)clang-tools-extra.src/clang-tidy/ClangTidy.cpp
Revision 371772 by timshen:
Fix llvm-reduce tests so that they don't assume the source code is
writable.

Instead of copying over the original file permissions, just create
a new file and add the executable bit.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Reduce/remove-args.ll (diff)llvm.src/test/Reduce/remove-args.ll
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/test/Reduce/remove-metadata.ll (diff)llvm.src/test/Reduce/remove-metadata.ll
Revision 371771 by ctopper:
[SelectionDAGBuilder] Simplify loop in visitSelect back to how it was before r255558.

This code was changed to accomodate fp128 being softened to itself
during type legalization on x86-64. This was done in order to create
libcalls while having fp128 as a legal type. We're now doing the
libcall creation during LegalizeDAG and the type legalization changes
to enable the old behavior have been removed. So this change to
SelectionDAGBuilder is no longer needed.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp