summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2016-12-15 20:01:26 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2016-12-15 20:01:26 +0000
commitf20c57eca93f58e3d1cb4ea1be0448b46fb9b192 (patch)
tree1a24979fe092edb3877e151deee6fbaa9c6bd2d9 /llvm/test
parent66d1f0ff1fb839678e23d56b7173befafe70bd3e (diff)
downloadbcm5719-llvm-f20c57eca93f58e3d1cb4ea1be0448b46fb9b192.tar.gz
bcm5719-llvm-f20c57eca93f58e3d1cb4ea1be0448b46fb9b192.zip
[SimplifyCFG] Merge debug locations when hoisting an instruction from a then/else branch. NFC.
Now that a new API to merge debug locations has been committed at r289661 (see review D26256 for more details), we can use it to "improve" the code added by revision r280995. Instead of nulling the debugloc of a commoned instruction, we use the 'merged' debug location. At the moment, this is just a no functional change since function `DILocation::getMergedLocation()` is just a stub and would always return a null location. Differential Revision: https://reviews.llvm.org/D27804 llvm-svn: 289862
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud