summaryrefslogtreecommitdiff
path: root/lib/Analysis/LoopAccessAnalysis.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-09-29 19:51:46 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-09-29 19:51:46 +0000
commit97fcd6ea2eef34fd788a96d80ad655deac8f94c1 (patch)
tree7e00fbf74889a8bdc5d35db7755c8b1143183575 /lib/Analysis/LoopAccessAnalysis.cpp
parent50f86f25c932eb7e7efda0da8e225a8bd8d5cde4 (diff)
[RegisterBankInfo] Change the default mapping for Copy and PHI.
Instead of producing a mapping for all the operands, we only generate a mapping for the definition. Indeed, the other operands are not constrained by the instruction and thus, we should leave the choice to the actual definition to do the right thing. In pratice this is almost NFC, but with one advantage. We will have only one instance of OperandsMapping for each copy and phi that map to one register bank instead of one different instance for each different number of operands for each copy and phi. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions