[all-commits] [llvm/llvm-project] 15f7bc: Add option to limit Debugify to locations (omittin...

Daniel Sanders via All-commits all-commits at lists.llvm.org
Mon Apr 6 15:05:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 15f7bc78572543d75f56d1e7989801a2ac08c430
      https://github.com/llvm/llvm-project/commit/15f7bc78572543d75f56d1e7989801a2ac08c430
  Author: Daniel Sanders <daniel_l_sanders at apple.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/Debugify.cpp
    A llvm/test/Transforms/Util/Debugify/loc-only.ll

  Log Message:
  -----------
  Add option to limit Debugify to locations (omitting variables)

Summary:
It can be helpful to test behaviour w.r.t locations without having DEBUG_VALUE
around. In particular, because DEBUG_VALUE has the potential to change CodeGen
behaviour (e.g. hasOneUse() vs hasOneNonDbgUse()) while locations generally
don't.

Reviewers: aprantl, bogner

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list