[PATCH] D98253: [clang][ARM] Refactor computeLLVMTriple code for ARM
David Spickett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 9 05:15:43 PST 2021
DavidSpickett created this revision.
Herald added subscribers: danielkiss, kristof.beyls.
DavidSpickett requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This moves code that sets the architecture name
and Float ABI into two new functions in
ToolChains/Arch/ARM.cpp. Greatly simplifying computeLLVMTriple.
Some light refactoring in setArchNameInTriple to
move local variables closer to their first use.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D98253
Files:
clang/lib/Driver/ToolChain.cpp
clang/lib/Driver/ToolChains/Arch/ARM.cpp
clang/lib/Driver/ToolChains/Arch/ARM.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98253.329303.patch
Type: text/x-patch
Size: 12216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210309/5506d996/attachment.bin>
More information about the cfe-commits
mailing list