We have found a miscompile with this change, reverting while working on a reproducer. This reverts commit 455b60cc.