trong accepted this revision.
trong added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Driver/ToolChains/Arch/AArch64.cpp:318
+ if (Args.hasArg(options::OPT_ffixed_x0))
+Features.push_back("+reserve-x0");
trong wr
trong added inline comments.
Herald added a project: LLVM.
Comment at: clang/lib/Driver/ToolChains/Arch/AArch64.cpp:318
+ if (Args.hasArg(options::OPT_ffixed_x0))
+Features.push_back("+reserve-x0");
phosek wrote:
> trong wrote:
> > What happens (should hap
This revision was automatically updated to reflect the committed changes.
Closed by commit rC342990: [AArch64] Support adding X[8-15,18] registers as
CSRs. (authored by trong, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D52399?vs=166722&id=166940#toc
Repository:
rC Clan
This revision was automatically updated to reflect the committed changes.
Closed by commit rL342990: [AArch64] Support adding X[8-15,18] registers as
CSRs. (authored by trong, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D52399
Files:
trong updated this revision to Diff 166722.
trong added a comment.
- Added test case for using -fcall-saved-x18 and -ffixed-x18 together.
Repository:
rC Clang
https://reviews.llvm.org/D52399
Files:
docs/ClangCommandLineReference.rst
include/clang/Driver/Options.td
lib/Driver/ToolChains
trong created this revision.
trong added reviewers: srhines, nickdesaulniers.
Herald added a reviewer: javed.absar.
Herald added subscribers: jfb, kristof.beyls.
Making X[8-15,18] registers call-saved is used to support
CONFIG_ARM64_LSE_ATOMICS in Linux kernel.
Signed-off-by: Tri Vo
Repository
This revision was automatically updated to reflect the committed changes.
Closed by commit rL342100: [AArch64] Support reserving x1-7 registers.
(authored by trong, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D48581?vs=165132&id=165
trong updated this revision to Diff 165132.
trong added a comment.
Added test cases for combination of -ffixed flags.
https://reviews.llvm.org/D48581
Files:
docs/ClangCommandLineReference.rst
include/clang/Driver/Options.td
lib/Driver/ToolChains/Arch/AArch64.cpp
test/Driver/aarch64-fixe