summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86Subtarget.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-05-20 18:00:46 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-05-20 18:00:46 +0000
commit6e80dbcde3ef92cd83a57a333630a8f582fcf58a (patch)
treedbf88620e281b344a1de3a3420327eb5ba0d5ad8 /llvm/lib/Target/X86/X86Subtarget.cpp
parent25fcef73de76565e203efb52b2c022a2a647b735 (diff)
downloadbcm5719-llvm-6e80dbcde3ef92cd83a57a333630a8f582fcf58a.tar.gz
bcm5719-llvm-6e80dbcde3ef92cd83a57a333630a8f582fcf58a.zip
[RegBankSelect] Take advantage of a potential best cost information in
computeMapping. Computing the cost of a mapping takes some time. Since in Fast mode, the cost is irrelevant, just spare some cycles by not computing it. In Greedy mode, we need to choose the best cost, that means that when the local cost gets more expensive than the best cost, we can stop computing the repairing and cost for the current mapping. llvm-svn: 270245
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud