================ @@ -28,3 +28,27 @@ if.end: ret float %phi } +; CHECK-LABEL: scalarsSinkingReverse ---------------- hiraditya wrote: This test is just a reverse of the test above to ensure GVNSink doesn't depend on the order of branches. https://github.com/llvm/llvm-project/pull/90995