summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMHazardRecognizer.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2014-08-06 15:58:15 +0000
committerSanjay Patel <spatel@rotateright.com>2014-08-06 15:58:15 +0000
commitd26358e12dba515e2f13f002020ad1309d3d3048 (patch)
tree7e243210f5ad25539f9639fcf6a9bf709d85b298 /llvm/lib/Target/ARM/ARMHazardRecognizer.h
parent3c30c4bdecc6e6bda11c3737ab7905e17a8448bd (diff)
downloadbcm5719-llvm-d26358e12dba515e2f13f002020ad1309d3d3048.tar.gz
bcm5719-llvm-d26358e12dba515e2f13f002020ad1309d3d3048.zip
use register iterators that include self to reduce code duplication in CriticalAntiDepBreaker
This patch addresses 2 FIXME comments that I added to CriticalAntiDepBreaker while fixing PR20020. Initialize an MCSubRegIterator and an MCRegAliasIterator to include the self reg. Assuming that works as advertised, there should be functional difference with this patch, just less code. Also, remove the associated asserts - we're setting those values just before, so the asserts don't do anything meaningful. Differential Revision: http://reviews.llvm.org/D4566 llvm-svn: 214973
Diffstat (limited to 'llvm/lib/Target/ARM/ARMHazardRecognizer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud