summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-02-10 18:40:04 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-02-10 18:40:04 +0000
commitf6d32496c5ac051d52c172656f753097571a5906 (patch)
treef23a15aab611b635f625ddf693042df979151a5e /llvm/utils/TableGen/CodeGenTarget.cpp
parent236d155be532d230cdf28f4be2e9342b108d7602 (diff)
downloadbcm5719-llvm-f6d32496c5ac051d52c172656f753097571a5906.tar.gz
bcm5719-llvm-f6d32496c5ac051d52c172656f753097571a5906.zip
SelectionDAG: Make Properties a field of SDPatternOperator
Currently you can't specify node properties like commutativity on a PatFrag. If you want to create a PatFrag on a commutative node with a hasOneUse predicate, this enables you to specify that the PatFrag is also commutable. llvm-svn: 260404
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index 8fc8f1fa3b5..167ed761781 100644
--- a/llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/llvm/utils/TableGen/CodeGenTarget.cpp
@@ -565,7 +565,7 @@ CodeGenIntrinsic::CodeGenIntrinsic(Record *R) {
}
// Parse the intrinsic properties.
- ListInit *PropList = R->getValueAsListInit("Properties");
+ ListInit *PropList = R->getValueAsListInit("IntrProperties");
for (unsigned i = 0, e = PropList->size(); i != e; ++i) {
Record *Property = PropList->getElementAsRecord(i);
assert(Property->isSubClassOf("IntrinsicProperty") &&
OpenPOWER on IntegriCloud