[cfe-commits] r61515 - /cfe/trunk/lib/Sema/SemaStmt.cpp
Anders Carlsson
andersca at mac.com
Tue Dec 30 23:27:39 PST 2008
Author: andersca
Date: Wed Dec 31 01:27:38 2008
New Revision: 61515
URL: http://llvm.org/viewvc/llvm-project?rev=61515&view=rev
Log:
Perform default function/array conversion for input arguments to inline asm statements if the input expr can be a memory operand
Modified:
cfe/trunk/lib/Sema/SemaStmt.cpp
Modified: cfe/trunk/lib/Sema/SemaStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmt.cpp?rev=61515&r1=61514&r2=61515&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmt.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmt.cpp Wed Dec 31 01:27:38 2008
@@ -892,6 +892,9 @@
<< InputExpr->getType() << InputConstraint
<< InputExpr->getSubExpr()->getSourceRange();
}
+
+ if (info & TargetInfo::CI_AllowsRegister)
+ DefaultFunctionArrayConversion(Exprs[i]);
}
// Check that the clobbers are valid.
More information about the cfe-commits
mailing list