Regression of T12433
While trying to find a bug in my branch, I found that there seems to be a regression of test case T12433 (#12433):
Expected output of T12433: `8`
Compiling with GHC 9.2.2, using _no optimizations_ or _any opt. level_ works:
e.g.: `ghc -O1 testsuite/tests/codeGen/should_run/T12433.hs && ./T12433` prints 8
Using GHC main HEAD (eb425eef418), flavour devel2:
`/path/ghcmain/ghc/_build/stage1/bin/ghc T12433.hs && ./T12433` -- prints 8 **works**
Using **any optimization level** fails:
`/path/ghcmain/ghc/_build/stage1/bin/ghc -O1 T12433.hs && ./T12433` -- prints 4229782
* Operating System: Ubuntu 20.04
* System Architecture: x86_64
#### Compiled with GHC 9.2.2:
[T12433.ghc922-noopt.cmm](/uploads/b275f417c01c26bdf8f4c9ab24294fca/T12433.ghc922-noopt.cmm)
[T12433.ghc922-opt.cmm](/uploads/c8c79dc6ddf798ae084e9629fbf68f3a/T12433.ghc922-opt.cmm)
#### Compiled with HEAD:
[T12433.noopt.cmm](/uploads/8038be665d896ccde009612c261ae02c/T12433.noopt.cmm)
[T12433.opt.cmm](/uploads/54b3d1678e2d407e64a3b99f76b9f640/T12433.opt.cmm)
issue