forked from OSchip/llvm-project
parent
af25c7e4f3
commit
55e2aac24b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue