projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f870e56
)
Clarify what mysterious check means.
author
Bill Wendling
<isanbard@gmail.com>
Fri, 9 Jul 2010 19:44:12 +0000
(19:44 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 9 Jul 2010 19:44:12 +0000
(19:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108005
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 5eb1a003bc6594f3686fdd4a7653879583455e4c..43ef9a1cacf05c5b2cdfe53243dd47dc0724218c 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-300,6
+300,9
@@
bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
for (MachineBasicBlock::const_iterator
II = MBB->begin(), IE = MBB->end(); II != IE; ++II) {
const TargetInstrDesc &TID = TM.getInstrInfo()->get(II->getOpcode());
+
+ // Operand 1 of an inline asm instruction indicates whether the asm
+ // needs stack or not.
if ((II->isInlineAsm() && II->getOperand(1).getImm()) ||
(TID.isCall() && !TID.isReturn())) {
MFI->setHasCalls(true);