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:
8a67cdc
)
Use bl to call Thumb fuctions directly.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 22 Jan 2007 19:40:10 +0000
(19:40 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 22 Jan 2007 19:40:10 +0000
(19:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33433
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index 0fb7e2555063c0711e3740d822657d05aaeab484..031cd0a2f556197d3c655e481cb0591dc6c5806b 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-483,7
+483,7
@@
SDOperand ARMTargetLowering::LowerCALL(SDOperand Op, SelectionDAG &DAG) {
getTargetMachine().getRelocationModel() != Reloc::Static;
isARMFunc = !Subtarget->isThumb() || isStub;
// Wrap it since tBX takes a register source operand.
- if (
!Subtarget->hasV5TOps() && Subtarget->isThumb
())
+ if (
isARMFunc && Subtarget->isThumb() && !Subtarget->hasV5TOps
())
Callee = DAG.getNode(ARMISD::WrapperCall, MVT::i32, Callee);
}