aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2015-07-30 16:40:17 +0000
committerRenato Golin <renato.golin@linaro.org>2015-07-30 16:40:17 +0000
commit23459c61cb43e2b1f2903370d145b3b8d080f552 (patch)
treed6130b2bbe9ebd46dd60cb425c1e1ed7140740eb /llvm/lib/CodeGen/MachineFunction.cpp
parent4229aa942d98cace46c38550d9dc83b7e7ec09dc (diff)
downloadllvm-23459c61cb43e2b1f2903370d145b3b8d080f552.zip
llvm-23459c61cb43e2b1f2903370d145b3b8d080f552.tar.gz
llvm-23459c61cb43e2b1f2903370d145b3b8d080f552.tar.bz2
[ARM] Allow setting the generic features for native cpus
Copying the already existing code for x86 to ARM to set the correct CPU features when using -mcpu=native. We can already detect the CPU name but we were not setting the correct feature bits. Moving fpu/hwdiv down to make sure they override whatever we set the default to be. No tests because this is native detection, and not all ARM-enabled builds will hapen at a specific CPU, or even ARM. I have tested locally and it works as expected. Fixes PR12794. llvm-svn: 243656
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions