diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-03-07 08:49:42 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-03-07 08:49:42 +0000 |
| commit | 5b2749abf585f9e28656c289001c2327eed401af (patch) | |
| tree | 7f7be8112f2bc5ebbb48089b898788c03d9bddf0 /lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 8c1161a262bb0195b47082ec04fa4398a1313ea1 (diff) | |
| download | llvm-5b2749abf585f9e28656c289001c2327eed401af.tar.gz llvm-5b2749abf585f9e28656c289001c2327eed401af.tar.bz2 llvm-5b2749abf585f9e28656c289001c2327eed401af.tar.xz | |
Where the BranchFolding pass removes a branch then adds another better branch,
the DebugLoc information can be maintained throughout by grabbing the DebugLoc
before the RemoveBranch and then passing the result to the InsertBranch.
Patch by Andrew Stanford-Jason!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
