summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorStrahinja Petrovic <strahinja.petrovic@rt-rk.com>2017-09-21 10:04:02 +0000
committerStrahinja Petrovic <strahinja.petrovic@rt-rk.com>2017-09-21 10:04:02 +0000
commit29202f6dc1ad06786480c9b0e716d6817ee6e2b1 (patch)
treeb62ac6a778bd7c87e0d86601018084714ee73f6a /llvm/lib/CodeGen
parent1a86c382d4e727d57ae8ed602569fc01a03fa71d (diff)
downloadbcm5719-llvm-29202f6dc1ad06786480c9b0e716d6817ee6e2b1.tar.gz
bcm5719-llvm-29202f6dc1ad06786480c9b0e716d6817ee6e2b1.zip
Fixed reverted commit rL312318
This patch contains fix for reverted commit rL312318 which was causing failure due to use of unchecked dyn_cast to CIInit. Patch by: Nikola Prica. llvm-svn: 313870
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
index 4538bb3ff02..429269d36d8 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
@@ -338,6 +338,7 @@ void DwarfExpression::addExpression(DIExpressionCursor &&ExprCursor,
break;
case dwarf::DW_OP_plus:
case dwarf::DW_OP_minus:
+ case dwarf::DW_OP_mul:
emitOp(Op->getOp());
break;
case dwarf::DW_OP_deref:
OpenPOWER on IntegriCloud