1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix VC++ compilation error.

llvm-svn: 26554
This commit is contained in:
Jeff Cohen 2006-03-05 21:43:37 +00:00
parent 45dfae3a50
commit 578bf37e22

View File

@ -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: