summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-04-19 18:11:45 +0000
committerBob Wilson <bob.wilson@apple.com>2011-04-19 18:11:45 +0000
commitdf612ba0062dd6bab9a2017c05106b4a474e3de7 (patch)
tree6bc1c13fc63acd5170703414171789d125c87d5d /llvm/lib/Target/ARM/ARMSubtarget.cpp
parent3e5944d96bff1dcbeb5f4ca4e20d92a1e4c23202 (diff)
downloadbcm5719-llvm-df612ba0062dd6bab9a2017c05106b4a474e3de7.tar.gz
bcm5719-llvm-df612ba0062dd6bab9a2017c05106b4a474e3de7.zip
Avoid write-after-write issue hazards for Cortex-A9.
Add a avoidWriteAfterWrite() target hook to identify register classes that suffer from write-after-write hazards. For those register classes, try to avoid writing the same register in two consecutive instructions. This is currently disabled by default. We should not spill to avoid hazards! The command line flag -avoid-waw-hazard can be used to enable waw avoidance. llvm-svn: 129772
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud