From 1ab47ef7598aae1476871cd8e972786f2742fd40 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Tue, 25 Aug 2015 23:08:51 +0000 Subject: Fix pessimizing moves in devel/llvm36, for the benefit of other ports PR: 202596 Submitted by: dim --- devel/llvm36/files/patch-include__llvm__ADT__APFloat.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/llvm36/files/patch-include__llvm__ADT__APFloat.h (limited to 'devel/llvm36/files/patch-include__llvm__ADT__APFloat.h') diff --git a/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h b/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h new file mode 100644 index 000000000000..0c036ba77e20 --- /dev/null +++ b/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h @@ -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; + } + + /// @} -- cgit v1.2.3