OSDN Git Service

[RegisterBankInfo] Add a size argument for the cost of copy.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 8 Jun 2016 01:11:03 +0000 (01:11 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 8 Jun 2016 01:11:03 +0000 (01:11 +0000)
commitedb4f7c12a2606f2949b40cec7ec096745d58ad0
treea5aa4c6b98a1832df5f17648bbfe1c22acd2dc9f
parent5c05d4112bd69fdafb2aab3a6bf704c80c514acf
[RegisterBankInfo] Add a size argument for the cost of copy.

The cost of a copy may be different based on how many bits we have to
copy around. E.g., a 8-bit copy may be different than a 32-bit copy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272084 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
lib/CodeGen/GlobalISel/RegBankSelect.cpp
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
lib/Target/AArch64/AArch64RegisterBankInfo.h