summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetSchedule.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2016-11-15 15:38:15 +0000
committerDiana Picus <diana.picus@linaro.org>2016-11-15 15:38:15 +0000
commit90f0a8494347a3e5df82f4905338c6917fd97452 (patch)
tree3899087c5b165a651ab83769180c8cf082acd784 /llvm/lib/CodeGen/TargetSchedule.cpp
parent1991e5d67330f3d02a5440937a2d0df106c0eda7 (diff)
downloadbcm5719-llvm-90f0a8494347a3e5df82f4905338c6917fd97452.tar.gz
bcm5719-llvm-90f0a8494347a3e5df82f4905338c6917fd97452.zip
[ARM] Make sure GlobalISel is only initialized once. NFCI
Move some code inside the proper 'if' block to make sure it is only run once, when the subtarget is first created. Things can still break if we use different ARM target machines or if we have functions with different 'target-cpu' or 'target-features', we should fix that too in the future. llvm-svn: 286974
Diffstat (limited to 'llvm/lib/CodeGen/TargetSchedule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud