Change the unnamed label comments like
; <label>:8 ; preds = %1
to
; <label>:8: ; preds = %1
This way lit tests can match [[LABEL]]: in both asserts and no-asserts builds.
Differential D16561
Tweak unnamed label syntax in textual IR for easier matching in tests. eugenis on Jan 25 2016, 3:41 PM. Authored by
Details
Change the unnamed label comments like ; <label>:8 ; preds = %1 to ; <label>:8: ; preds = %1 This way lit tests can match [[LABEL]]: in both asserts and no-asserts builds.
Diff Detail
Event TimelineComment Actions LGTM We should eventually make it so that numeric labels need to appear explicitly in the textual IR (as a non-comment) rather than being implied by a terminator. But this is definitely an improvement on the status quo. |