summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELF.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-27 11:12:14 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-27 11:12:14 +0000
commit328998b2f7dc1dd9ceca111244c36fd377cce188 (patch)
tree9a14c93a64a0bc09cb374f5f1c6267f32399bf9d /llvm/lib/MC/MCELF.cpp
parent629199ccb30ae73fb9325516bcbb056b3f40f413 (diff)
downloadbcm5719-llvm-328998b2f7dc1dd9ceca111244c36fd377cce188.tar.gz
bcm5719-llvm-328998b2f7dc1dd9ceca111244c36fd377cce188.zip
[vectorizer] Fix a trivial oversight where we always requested the
number of vector registers rather than toggling between vector and scalar register number based on VF. I don't have a test case as I spotted this by inspection and on X86 it only makes a difference if your target is lacking SSE and thus has *no* vector registers. If someone wants to add a test case for this for ARM or somewhere else where this is more significant, that would be awesome. Also made the variable name a bit more sensible while I'm here. llvm-svn: 200211
Diffstat (limited to 'llvm/lib/MC/MCELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud