FailedChanges

Summary

  1. [ConstantRange] Use ternary operator instead of 'if' to avoid copying an APInt and then possibly copying over it.
  2. [ConstantRange] Add std::move to a bunch of places that pass local APInts to ConstantRange constructor. The ConstantRange constructor takes APInt by value so without these moves we are making copies.
Revision 301741 by ctopper:
[ConstantRange] Use ternary operator instead of 'if' to avoid copying an APInt and then possibly copying over it.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/IR/ConstantRange.cpp (diff)llvm-revision.src/llvm/trunk/lib/IR/ConstantRange.cpp
Revision 301740 by ctopper:
[ConstantRange] Add std::move to a bunch of places that pass local APInts to ConstantRange constructor.

The ConstantRange constructor takes APInt by value so without these moves we are making copies.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/IR/ConstantRange.cpp (diff)llvm-revision.src/llvm/trunk/lib/IR/ConstantRange.cpp