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:
parent
45dfae3a50
commit
578bf37e22
@ -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…
x
Reference in New Issue
Block a user