This is an archive of the discontinued LLVM Phabricator instance.

[NFC][CodeGen] Tidy up SelectionDAGBuilder::visitIntrinsicCall to use existing sdl debug loc
ClosedPublic

Authored by david-arm on Nov 23 2021, 8:54 AM.

Details

Summary

In quite a few places we were calling getCurSDLoc() to get the debug
location, but this is already a local variable sdl.

Diff Detail

Event Timeline

david-arm created this revision.Nov 23 2021, 8:54 AM
david-arm requested review of this revision.Nov 23 2021, 8:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 23 2021, 8:54 AM
peterwaller-arm accepted this revision.Nov 23 2021, 9:12 AM

Looks reasonable to me.

This revision is now accepted and ready to land.Nov 23 2021, 9:12 AM
sdesmalen accepted this revision.Nov 24 2021, 2:26 AM