diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-16 21:53:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-16 21:53:07 +0000 |
commit | 02c602b333ed2a1a13a17981f3c3f2f5463d5e5c (patch) | |
tree | 9bf1b6ad5716a0c78dd1ac6b4776699e667de0ea /include/llvm/Target/TargetInstrInfo.h | |
parent | 2eb80fa433fbc9257bb7ef236e48092981cc3b3c (diff) | |
download | external_llvm-02c602b333ed2a1a13a17981f3c3f2f5463d5e5c.zip external_llvm-02c602b333ed2a1a13a17981f3c3f2f5463d5e5c.tar.gz external_llvm-02c602b333ed2a1a13a17981f3c3f2f5463d5e5c.tar.bz2 |
PredicateInstruction returns true if the operation was successful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 7c2cfac..00a0556 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -390,8 +390,8 @@ public: } /// PredicateInstruction - Convert the instruction into a predicated - /// instruction. - virtual void PredicateInstruction(MachineInstr *MI, + /// instruction. It returns true if the operation was successful. + virtual bool PredicateInstruction(MachineInstr *MI, std::vector<MachineOperand> &Cond) const; /// getPointerRegClass - Returns a TargetRegisterClass used for pointer |