]> granicus.if.org Git - llvm/commit
[AArch64] Refactor instruction selection lowering for addresses. NFCI
authorJoel Jones <joelkevinjones@gmail.com>
Fri, 21 Apr 2017 17:31:03 +0000 (17:31 +0000)
committerJoel Jones <joelkevinjones@gmail.com>
Fri, 21 Apr 2017 17:31:03 +0000 (17:31 +0000)
commitafde310afdd903ac0440e2237900af63c18d7ccb
treea723e7519e190bccc0c078667acb5a584e31a51e
parent83e112a11603e2c817b48f716fb4040aa5cb94b1
[AArch64] Refactor instruction selection lowering for addresses. NFCI

Factor out the common code used for generating addresses into common
templated functions that call overloaded versions of a new function,
getTargetNode.

Tested with make check-llvm with targets AArch64.

Differential Revision: https://reviews.llvm.org/D32169

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h