diff options
| author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2019-05-31 08:39:34 +0000 |
|---|---|---|
| committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2019-05-31 08:39:34 +0000 |
| commit | 3cac8d258acb2d52f50a71e11efc83dc582c538b (patch) | |
| tree | 45432209d6f6bea1174b47b325d1b11b365026cb /llvm/utils | |
| parent | efcd3c000991ba9e98428810b7dffecbd8848f57 (diff) | |
| download | bcm5719-llvm-3cac8d258acb2d52f50a71e11efc83dc582c538b.tar.gz bcm5719-llvm-3cac8d258acb2d52f50a71e11efc83dc582c538b.zip | |
Follow up and fix for rL362064
Fix the misleadingly indentation introduced in rL362064. This will get rid of
the compiler warning, and it was actually a bug. This change will be used and
tested in D62669.
llvm-svn: 362211
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/TableGen/GlobalISelEmitter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/GlobalISelEmitter.cpp b/llvm/utils/TableGen/GlobalISelEmitter.cpp index ad13b33f8b7..4ec7a819278 100644 --- a/llvm/utils/TableGen/GlobalISelEmitter.cpp +++ b/llvm/utils/TableGen/GlobalISelEmitter.cpp @@ -3813,10 +3813,11 @@ Error GlobalISelEmitter::importDefaultOperandRenderers( if (const DagInit *DefaultDagOp = dyn_cast<DagInit>(DefaultOp)) { if (const DefInit *DefaultDagOperator = dyn_cast<DefInit>(DefaultDagOp->getOperator())) { - if (DefaultDagOperator->getDef()->isSubClassOf("ValueType")) + if (DefaultDagOperator->getDef()->isSubClassOf("ValueType")) { OpTyOrNone = MVTToLLT(getValueType( DefaultDagOperator->getDef())); DefaultOp = DefaultDagOp->getArg(0); + } } } |

