mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 15:22:41 +00:00
Fix VC++ compilation error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26554 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c0fe53383e
commit
3d68e15c20
@ -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…
x
Reference in New Issue
Block a user