[PATCH] D78659: Add nomerge function attribute to supress tail merge optimization in simplifyCFG
    Zequan Wu via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Apr 28 14:02:35 PDT 2020
    
    
  
zequanwu added a comment.
> Does sinking and hoisting remove the debug source location? I assumed that it wouldn't, but now after all the smooth stepping work, maybe it does.
Yes, both sinking and hoisting in simplifycfg remove the debug source location by `Instruction::applyMergedLocation`
sinking: https://github.com/llvm/llvm-project/blob/master/llvm/lib/Transforms/Utils/SimplifyCFG.cpp#L1646
hoisting: https://github.com/llvm/llvm-project/blob/master/llvm/lib/Transforms/Utils/SimplifyCFG.cpp#L1338
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78659/new/
https://reviews.llvm.org/D78659
    
    
More information about the llvm-commits
mailing list