aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CodeGenInstruction.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-03-15 05:09:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-03-15 05:09:26 +0000
commit0f040a258ff6a2372fc232212b5e4189e8e7185d (patch)
tree0e53a4efd96b8a1ffe81e53b5c9961cdcfe9407e /utils/TableGen/CodeGenInstruction.cpp
parentb1a6eab655adce4f84a15afa9092e814b9aaabda (diff)
downloadexternal_llvm-0f040a258ff6a2372fc232212b5e4189e8e7185d.zip
external_llvm-0f040a258ff6a2372fc232212b5e4189e8e7185d.tar.gz
external_llvm-0f040a258ff6a2372fc232212b5e4189e8e7185d.tar.bz2
- Add "Bitcast" target instruction property for instructions which perform
nothing more than a bitcast. - Teach tablegen to automatically infer "Bitcast" property. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r--utils/TableGen/CodeGenInstruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp
index f37d3ea..5b0aedf 100644
--- a/utils/TableGen/CodeGenInstruction.cpp
+++ b/utils/TableGen/CodeGenInstruction.cpp
@@ -288,6 +288,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R) : TheDef(R), Operands(R) {
isIndirectBranch = R->getValueAsBit("isIndirectBranch");
isCompare = R->getValueAsBit("isCompare");
isMoveImm = R->getValueAsBit("isMoveImm");
+ isBitcast = R->getValueAsBit("isBitcast");
isBarrier = R->getValueAsBit("isBarrier");
isCall = R->getValueAsBit("isCall");
canFoldAsLoad = R->getValueAsBit("canFoldAsLoad");