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:
18dcb87
)
Fix a thinko that Nick noticed. The previous code actually worked as
author
Dan Gohman
<gohman@apple.com>
Wed, 12 Oct 2011 15:56:56 +0000
(15:56 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 12 Oct 2011 15:56:56 +0000
(15:56 +0000)
intended, but only by accident.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141779
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/FastISel.cpp
b/lib/CodeGen/SelectionDAG/FastISel.cpp
index fbd0c623eb693e4aad7654906ba3211fad181317..e8f8c73d6883c8046f83ad5c2cd16d757a6d9aa8 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/FastISel.cpp
@@
-494,7
+494,7
@@
bool FastISel::SelectCall(const User *I) {
const CallInst *Call = cast<CallInst>(I);
// Handle simple inline asms.
- if (const InlineAsm *IA = dyn_cast<InlineAsm>(Call->get
ArgOperand(0
))) {
+ if (const InlineAsm *IA = dyn_cast<InlineAsm>(Call->get
CalledValue(
))) {
// Don't attempt to handle constraints.
if (!IA->getConstraintString().empty())
return false;