diff options
| author | Dehao Chen <dehao@google.com> | 2017-10-02 18:13:14 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2017-10-02 18:13:14 +0000 |
| commit | f464627f2828b3496456a41b5697f31c6756431f (patch) | |
| tree | 5c74c754c0bf8c82e24f97a18b4d0c896308c04c /llvm/lib/Transforms/Utils/IntegerDivision.cpp | |
| parent | bf11424b7fcabf997c2d43c7d0d9949351588b45 (diff) | |
| download | bcm5719-llvm-f464627f2828b3496456a41b5697f31c6756431f.tar.gz bcm5719-llvm-f464627f2828b3496456a41b5697f31c6756431f.zip | |
Update getMergedLocation to check the instruction type and merge properly.
Summary: If the merged instruction is call instruction, we need to set the scope to the closes common scope between 2 locations, otherwise it will cause trouble when the call is getting inlined.
Reviewers: dblaikie, aprantl
Reviewed By: dblaikie, aprantl
Subscribers: llvm-commits, sanjoy
Differential Revision: https://reviews.llvm.org/D37877
llvm-svn: 314694
Diffstat (limited to 'llvm/lib/Transforms/Utils/IntegerDivision.cpp')
0 files changed, 0 insertions, 0 deletions

