From 9e5b4a5827fb549829d7783c3d809cec8546b076 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 11 Sep 2014 15:58:39 +0000 Subject: Move constant-sized bitvector to the stack. llvm-svn: 217600 --- llvm/lib/Target/X86/X86FloatingPoint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp index 8fdf50325ea..6c203aa5860 100644 --- a/llvm/lib/Target/X86/X86FloatingPoint.cpp +++ b/llvm/lib/Target/X86/X86FloatingPoint.cpp @@ -25,7 +25,6 @@ #include "X86.h" #include "X86InstrInfo.h" -#include "llvm/ADT/BitVector.h" #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallPtrSet.h" @@ -46,6 +45,7 @@ #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetSubtargetInfo.h" #include +#include using namespace llvm; #define DEBUG_TYPE "x86-codegen" @@ -1655,7 +1655,7 @@ void FPS::setKillFlags(MachineBasicBlock &MBB) const { if (I->isDebugValue()) continue; - BitVector Defs(8); + std::bitset<8> Defs; SmallVector Uses; MachineInstr &MI = *I; -- cgit v1.2.3