[all-commits] [llvm/llvm-project] cf40ca: [NFC] Tidy up SelectionDAGBuilder::visitIntrinsicC...

david-arm via All-commits all-commits at lists.llvm.org
Wed Nov 24 02:36:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf40ca026f9193c46c3db1f3cb2ac0dff5f2b695
      https://github.com/llvm/llvm-project/commit/cf40ca026f9193c46c3db1f3cb2ac0dff5f2b695
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2021-11-24 (Wed, 24 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

  Log Message:
  -----------
  [NFC] Tidy up SelectionDAGBuilder::visitIntrinsicCall to use existing sdl debug loc

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

Differential Revision: https://reviews.llvm.org/D114447




More information about the All-commits mailing list