FreeBSD Bugzilla – Attachment 160255 Details for
Bug 202596
Fix pessimizing moves in devel/llvm36, for the benefit of other ports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix pessimizing moves in devel/llvm36
devel__llvm36-fix-pessimizing-moves-1.diff (text/plain), 2.40 KB, created by
Dimitry Andric
on 2015-08-23 16:40:33 UTC
(
hide
)
Description:
Fix pessimizing moves in devel/llvm36
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-08-23 16:40:33 UTC
Size:
2.40 KB
patch
obsolete
>Index: devel/llvm36/files/patch-include__llvm__ADT__APFloat.h >=================================================================== >--- devel/llvm36/files/patch-include__llvm__ADT__APFloat.h (revision 0) >+++ devel/llvm36/files/patch-include__llvm__ADT__APFloat.h (working copy) >@@ -0,0 +1,11 @@ >+--- include/llvm/ADT/APFloat.h.orig 2014-10-10 10:27:22.000000000 +0200 >++++ include/llvm/ADT/APFloat.h 2015-08-23 18:33:44.005954000 +0200 >+@@ -349,7 +349,7 @@ public: >+ /// copied from some other APFloat. >+ static APFloat copySign(APFloat Value, const APFloat &Sign) { >+ Value.copySign(Sign); >+- return std::move(Value); >++ return Value; >+ } >+ >+ /// @} > >Property changes on: devel/llvm36/files/patch-include__llvm__ADT__APFloat.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: devel/llvm36/files/patch-include__llvm__IR__PassManager.h >=================================================================== >--- devel/llvm36/files/patch-include__llvm__IR__PassManager.h (revision 0) >+++ devel/llvm36/files/patch-include__llvm__IR__PassManager.h (working copy) >@@ -0,0 +1,20 @@ >+--- include/llvm/IR/PassManager.h.orig 2015-01-13 23:42:38.000000000 +0100 >++++ include/llvm/IR/PassManager.h 2015-08-23 18:33:44.006587000 +0200 >+@@ -502,7 +502,7 @@ private: >+ PreservedAnalyses invalidateImpl(IRUnitT &IR, PreservedAnalyses PA) { >+ // Short circuit for a common case of all analyses being preserved. >+ if (PA.areAllPreserved()) >+- return std::move(PA); >++ return PA; >+ >+ if (DebugLogging) >+ dbgs() << "Invalidating all non-preserved analyses for: " >+@@ -542,7 +542,7 @@ private: >+ if (ResultsList.empty()) >+ AnalysisResultLists.erase(&IR); >+ >+- return std::move(PA); >++ return PA; >+ } >+ >+ /// \brief List of function analysis pass IDs and associated concept pointers. > >Property changes on: devel/llvm36/files/patch-include__llvm__IR__PassManager.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202596
: 160255