From db414b01a3073530c6d8c84434de97a5249bc78c Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 11 Sep 2014 15:58:39 +0000 Subject: [PATCH] Move constant-sized bitvector to the stack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217600 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86FloatingPoint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index 8fdf50325ea..6c203aa5860 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/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; -- 2.34.1