[PATCH] D11462: [AArch64] Pass subtarget feature "+reserve-x18"
Akira Hatanaka
ahatanak at gmail.com
Fri Jul 24 17:18:34 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL243185: [AArch64] Pass subtarget feature "+reserve-x18" instead of passing backend (authored by ahatanak).
Changed prior to commit:
http://reviews.llvm.org/D11462?vs=30487&id=30624#toc
Repository:
rL LLVM
http://reviews.llvm.org/D11462
Files:
cfe/trunk/lib/Driver/Tools.cpp
Index: cfe/trunk/lib/Driver/Tools.cpp
===================================================================
--- cfe/trunk/lib/Driver/Tools.cpp
+++ cfe/trunk/lib/Driver/Tools.cpp
@@ -919,11 +919,6 @@
else
CmdArgs.push_back("-aarch64-global-merge=true");
}
-
- if (Args.hasArg(options::OPT_ffixed_x18)) {
- CmdArgs.push_back("-backend-option");
- CmdArgs.push_back("-aarch64-reserve-x18");
- }
}
// Get CPU and ABI names. They are not independent
@@ -1971,6 +1966,9 @@
else
Features.push_back("-crc");
}
+
+ if (Args.hasArg(options::OPT_ffixed_x18))
+ Features.push_back("+reserve-x18");
}
static void getTargetFeatures(const Driver &D, const llvm::Triple &Triple,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11462.30624.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150725/dcdd03b3/attachment.bin>
More information about the cfe-commits
mailing list