EarlyOtherwiseBranch requires -Zunsound-mir-opts

The noopt test never actually ran the pass
This commit is contained in:
Dylan MacKenzie 2021-12-02 16:00:25 -08:00
parent dc5feeb1fa
commit 7bc5eca93a

View file

@ -1,4 +1,4 @@
// compile-flags: -Z mir-opt-level=4
// compile-flags: -Z mir-opt-level=4 -Zunsound-mir-opts
// must not optimize as it does not follow the pattern of
// left and right hand side being the same variant