[llvm] [GVNSink] Fix non-determinisms by using Depth-First ordering (PR #90995)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 12:01:05 PDT 2024


================
@@ -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


More information about the llvm-commits mailing list