diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-03-15 05:09:26 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-03-15 05:09:26 +0000 |
commit | 880e299dcda6d8a79fd178e19a6bb44ce03e39eb (patch) | |
tree | 53585b5f0ea66cf4f9b87cc089f6788656140d11 /llvm/utils/TableGen/InstrInfoEmitter.cpp | |
parent | c8c4e5f37103d9b66ba95e40a027e98fa3cb41e4 (diff) | |
download | bcm5719-llvm-880e299dcda6d8a79fd178e19a6bb44ce03e39eb.tar.gz bcm5719-llvm-880e299dcda6d8a79fd178e19a6bb44ce03e39eb.zip |
- Add "Bitcast" target instruction property for instructions which perform
nothing more than a bitcast.
- Teach tablegen to automatically infer "Bitcast" property.
llvm-svn: 127667
Diffstat (limited to 'llvm/utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/InstrInfoEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index 2b684bede3e..67cce0e55f2 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp @@ -272,6 +272,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num, if (Inst.isIndirectBranch) OS << "|(1<<TID::IndirectBranch)"; if (Inst.isCompare) OS << "|(1<<TID::Compare)"; if (Inst.isMoveImm) OS << "|(1<<TID::MoveImm)"; + if (Inst.isBitcast) OS << "|(1<<TID::Bitcast)"; if (Inst.isBarrier) OS << "|(1<<TID::Barrier)"; if (Inst.hasDelaySlot) OS << "|(1<<TID::DelaySlot)"; if (Inst.isCall) OS << "|(1<<TID::Call)"; |