summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopUnroll.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-04-29 12:46:50 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-04-29 12:46:50 +0000
commitb60c829a2a83fd21f0c4c78a956d9e6a7a21918f (patch)
tree2a071ed6ee2304e7f5a7cfbf539b2d6caa80fb13 /llvm/lib/Transforms/Utils/LoopUnroll.cpp
parent6468f5d3094708b2290ebddc28a2ba3fa1f25f6f (diff)
downloadbcm5719-llvm-b60c829a2a83fd21f0c4c78a956d9e6a7a21918f.tar.gz
bcm5719-llvm-b60c829a2a83fd21f0c4c78a956d9e6a7a21918f.zip
Centralize the handling of the thumb bit.
This patch centralizes the handling of the thumb bit around MCStreamer::isThumbFunc and makes isThumbFunc handle aliases. This fixes a corner case, but the main advantage is having just one way to check if a MCSymbol is thumb or not. This should still be refactored to be ARM only, but at least now it is just one predicate that has to be refactored instead of 3 (isThumbFunc, ELF_Other_ThumbFunc, and SF_ThumbFunc). llvm-svn: 207522
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud