forked from OSchip/llvm-project
parent
af25c7e4f3
commit
55e2aac24b
|
@ -29,6 +29,11 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#include <float.h>
|
||||||
|
#define copysign _copysign
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool isCommutativeBinOp(unsigned Opcode) {
|
static bool isCommutativeBinOp(unsigned Opcode) {
|
||||||
switch (Opcode) {
|
switch (Opcode) {
|
||||||
case ISD::ADD:
|
case ISD::ADD:
|
||||||
|
|
Loading…
Reference in New Issue