projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CXX_FAST_TLS calling convention: performance improvement for AArch64.
[oota-llvm.git]
/
lib
/
Target
/
AArch64
/
AArch64FastISel.cpp
diff --git
a/lib/Target/AArch64/AArch64FastISel.cpp
b/lib/Target/AArch64/AArch64FastISel.cpp
index cae2d52762962ceddf5c1e4adc3d1d5d841449a6..0ac4b39b0357245ace6fb3e5c7c6603d5a89f77a 100644
(file)
--- a/
lib/Target/AArch64/AArch64FastISel.cpp
+++ b/
lib/Target/AArch64/AArch64FastISel.cpp
@@
-3646,6
+3646,9
@@
bool AArch64FastISel::selectRet(const Instruction *I) {
if (F.isVarArg())
return false;
+ if (TLI.supportSplitCSR(FuncInfo.MF))
+ return false;
+
// Build a list of return value registers.
SmallVector<unsigned, 4> RetRegs;