The assert would fail if there was a dead def of a subregister if
there was a previous use of a different subregister.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Matt,
Looks sensible.
The check is not quite right I think see inline comment (you should be able to write a test case to expose the issue), but the direction is the right one).
With that fixed LGTM.
Cheers,
-Quentin
lib/CodeGen/ScheduleDAGInstrs.cpp | ||
---|---|---|
383 | We should check that the lane masks don't overlap instead. | |
test/CodeGen/AMDGPU/sched-assert-dead-def-subreg-use-other-subreg.mir | ||
5 | typo: indices |
We should check that the lane masks don't overlap instead.