aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2017-05-08 18:16:23 +0000
committerQuentin Colombet <qcolombet@apple.com>2017-05-08 18:16:23 +0000
commit0e41a41b878e6f802468051d4c295b25b5ecf003 (patch)
treef1373c1d28b8d636384d1e2b82e0f2393667618a /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent322db476f3243ecdbe59645410b24c28cad036ae (diff)
downloadllvm-0e41a41b878e6f802468051d4c295b25b5ecf003.zip
llvm-0e41a41b878e6f802468051d4c295b25b5ecf003.tar.gz
llvm-0e41a41b878e6f802468051d4c295b25b5ecf003.tar.bz2
[AArch64][RegisterBankInfo] Fix mapping cost for GPR.
In r292478, we changed the order of the enum that is referenced by PMI_FirstXXX. This had the side effect of changing the cost of the mapping of all the loads, instead of just the FPRs ones. Reinstate the higher cost for all but GPR loads. Note: This did not have any external visible effects: - For Fast mode, the cost would have been higher, but we don't care because we don't try to use alternative mappings. - For Greedy mode, the higher cost of the GPR loads, would have triggered the use of the supposedly alternative mapping, that would be in fact the same GPR mapping but with a lower cost. llvm-svn: 302452
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions