Fix VC++ compilation error
authorJeff Cohen <jeffc@jolt-lang.org>
Sun, 9 Jan 2005 20:41:56 +0000 (20:41 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sun, 9 Jan 2005 20:41:56 +0000 (20:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19423 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index 3b4694a764d6467084e0f89e233b4673a0236f5c..9c583049667bcbb8ea4caf4c74fc57c8fd3bd0f4 100644 (file)
@@ -19,6 +19,7 @@
 #include <iostream>
 #include <set>
 #include <cmath>
+#include <algorithm>
 using namespace llvm;
 
 /// getSetCCSwappedOperands - Return the operation corresponding to (Y op X)