summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize/ModularizeUtilities.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2015-02-13 14:15:48 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2015-02-13 14:15:48 +0000
commitb14ae8692dcce69aab032af9476e36de15f6490d (patch)
treed4d8da6c61c5f65ccbe63f60e6bb6a19c008a72b /clang-tools-extra/modularize/ModularizeUtilities.cpp
parentf5f2ace2111ee6ec6781a497b7f0ec82a224db89 (diff)
downloadbcm5719-llvm-b14ae8692dcce69aab032af9476e36de15f6490d.tar.gz
bcm5719-llvm-b14ae8692dcce69aab032af9476e36de15f6490d.zip
[CodeGenPrepare] Removed duplicate logic. SimplifyCFG already knows how to speculate calls to cttz/ctlz.
SimplifyCFG now knows how to speculate calls to intrinsic cttz/ctlz that are 'cheap' for the target. Therefore, some of the logic in CodeGenPrepare that was originally added at revision 224899 can now be removed. This patch is basically a no functional change. It removes the duplicated logic in CodeGenPrepare and converts all the existing target specific tests for cttz/ctlz into SimplifyCFG tests. Differential Revision: http://reviews.llvm.org/D7608 llvm-svn: 229105
Diffstat (limited to 'clang-tools-extra/modularize/ModularizeUtilities.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud