Skip to content
Commit 7c5dcb6c authored by Bill Wendling's avatar Bill Wendling
Browse files

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!

llvm-svn: 152212
parent c67fdd4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment