diff options
| author | Owen Anderson <resistor@mac.com> | 2008-08-14 22:49:33 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2008-08-14 22:49:33 +0000 |
| commit | 4f6bf04616b01fef8740ff68427a8ae0c570b923 (patch) | |
| tree | 5e63e2de6a02826372e814a6399e9765326a4851 /llvm/lib/CodeGen/TargetInstrInfoImpl.cpp | |
| parent | 65d83ccf26c8851f02ffea50a18c36c1c10fc2fe (diff) | |
| download | bcm5719-llvm-4f6bf04616b01fef8740ff68427a8ae0c570b923.tar.gz bcm5719-llvm-4f6bf04616b01fef8740ff68427a8ae0c570b923.zip | |
Convert uses of std::vector in TargetInstrInfo to SmallVector. This change had to be propoagated down into all the targets and up into all clients of this API.
llvm-svn: 54802
Diffstat (limited to 'llvm/lib/CodeGen/TargetInstrInfoImpl.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/TargetInstrInfoImpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp b/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp index 4e7fec364dd..82f6a85fc28 100644 --- a/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp +++ b/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Target/TargetInstrInfo.h" +#include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineInstrBuilder.h" using namespace llvm; @@ -77,7 +78,7 @@ bool TargetInstrInfoImpl::CommuteChangesDestination(MachineInstr *MI, bool TargetInstrInfoImpl::PredicateInstruction(MachineInstr *MI, - const std::vector<MachineOperand> &Pred) const { + const SmallVectorImpl<MachineOperand> &Pred) const { bool MadeChange = false; const TargetInstrDesc &TID = MI->getDesc(); if (!TID.isPredicable()) |

