summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-03-17 12:00:04 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-03-17 12:00:04 +0000
commit914b947e9bef4b6565e27930e903d2ed60981559 (patch)
treeabb2d4fb389ba0ae4236336d62ff73bffbb1c119 /llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
parente11531f7ea907e65cd38922950845bbe423517ad (diff)
downloadbcm5719-llvm-914b947e9bef4b6565e27930e903d2ed60981559.tar.gz
bcm5719-llvm-914b947e9bef4b6565e27930e903d2ed60981559.zip
Fix r232466 by adding 'i' to the mappings for inline assembly memory constraints.
It's not completely clear why 'i' has historically been treated as a memory constraint. According to the documentation, it represents a constant immediate. llvm-svn: 232470
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index a20d37b7992..3ac8e949bbb 100644
--- a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@ -194,6 +194,7 @@ namespace {
errs() << "ConstraintID: " << ConstraintID << "\n";
llvm_unreachable("Unexpected asm memory constraint");
case InlineAsm::Constraint_es:
+ case InlineAsm::Constraint_i:
case InlineAsm::Constraint_m:
case InlineAsm::Constraint_o:
case InlineAsm::Constraint_Q:
OpenPOWER on IntegriCloud