]> granicus.if.org Git - llvm/commit
GlobalISel: make sure debugging variables are appropriately elided in release builds.
authorDavid L. Jones <dlj@google.com>
Tue, 8 Nov 2016 22:03:23 +0000 (22:03 +0000)
committerDavid L. Jones <dlj@google.com>
Tue, 8 Nov 2016 22:03:23 +0000 (22:03 +0000)
commitc457ee1edb66646224fa2d454557688152f1776b
treee83d0f11404f884fb0ac658c947588d84367e8f9
parent9a9bc142bf538f7bc7562f9ac29ccc3fe0779a9a
GlobalISel: make sure debugging variables are appropriately elided in release builds.

Summary:
There are two variables here that break. This change constrains both of them to
debug builds (via DEBUG() or #ifndef NDEBUG).

Reviewers: bkramer, t.p.northover

Subscribers: mehdi_amini, vkalintiris

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286300 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/InstructionSelect.cpp