Skip to content
Unverified Commit 435bcea8 authored by Nikita Popov's avatar Nikita Popov Committed by GitHub
Browse files

[GISel] Add debug counter to force sdag fallback (#78257)

Add a debug counter that allows forcing an sdag fallback after a certain
number of functions.

The intended use-case is to bisect which function gets miscompiled by
global isel using `-debug-counter=globalisel-count=N` (in cases where
sdag doesn't also miscompile it, of course).

The "falling back" debug line is printed unconditionally, because using
`-debug-only` is usually too spammy for the intended purpose.
parent cde780c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment