OSDN Git Service

[AArch64] Refactor floating point materialization. NFC
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 18 Mar 2019 18:23:23 +0000 (18:23 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 18 Mar 2019 18:23:23 +0000 (18:23 +0000)
commit5c68269f7ec17ac8bdd049d6c1d9673f2ce8aad2
treee73a45345c8f776d4107b00ed5d18d315ed2bafd
parent2b24b93a59fe536ab7909189440da44ecbf2b719
[AArch64] Refactor floating point materialization. NFC

It splits the login of actual instruction emission away from the logic
that figures out the appropriate sequence on AArch64ExpandPseudo::expandMOVImm.
The new function AArch64_IMM::expandMOVImm, which return the list of the
instructions to materialize the immediate constant, is implemented on a
separated unit because it will be used in a subsequent patch to optimize
floating point materialization.

Reviewers: efriedma

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356387 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ExpandImm.cpp [new file with mode: 0644]
lib/Target/AArch64/AArch64ExpandImm.h [new file with mode: 0644]
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
lib/Target/AArch64/CMakeLists.txt