mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Move constant-sized bitvector to the stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217600 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
#include "X86.h"
|
#include "X86.h"
|
||||||
#include "X86InstrInfo.h"
|
#include "X86InstrInfo.h"
|
||||||
#include "llvm/ADT/BitVector.h"
|
|
||||||
#include "llvm/ADT/DepthFirstIterator.h"
|
#include "llvm/ADT/DepthFirstIterator.h"
|
||||||
#include "llvm/ADT/STLExtras.h"
|
#include "llvm/ADT/STLExtras.h"
|
||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
@@ -46,6 +45,7 @@
|
|||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
#include "llvm/Target/TargetSubtargetInfo.h"
|
#include "llvm/Target/TargetSubtargetInfo.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <bitset>
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
#define DEBUG_TYPE "x86-codegen"
|
#define DEBUG_TYPE "x86-codegen"
|
||||||
@@ -1655,7 +1655,7 @@ void FPS::setKillFlags(MachineBasicBlock &MBB) const {
|
|||||||
if (I->isDebugValue())
|
if (I->isDebugValue())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
BitVector Defs(8);
|
std::bitset<8> Defs;
|
||||||
SmallVector<MachineOperand *, 2> Uses;
|
SmallVector<MachineOperand *, 2> Uses;
|
||||||
MachineInstr &MI = *I;
|
MachineInstr &MI = *I;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user