projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0fe533
)
Fix VC++ compilation error.
author
Jeff Cohen
<jeffc@jolt-lang.org>
Sun, 5 Mar 2006 21:43:37 +0000
(21:43 +0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Sun, 5 Mar 2006 21:43:37 +0000
(21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26554
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 57f10663d03fe7414e600658d137d1c51850c262..ec778171692afe2c1b34a3b76d1ff8f428397fc8 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-29,6
+29,11
@@
#include <algorithm>
using namespace llvm;
+#ifdef _MSC_VER
+#include <float.h>
+#define copysign _copysign
+#endif
+
static bool isCommutativeBinOp(unsigned Opcode) {
switch (Opcode) {
case ISD::ADD: