aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAdityaK <hiraditya@msn.com>2024-05-12 19:41:54 -0700
committerGitHub <noreply@github.com>2024-05-12 19:41:54 -0700
commitabe3c5ac19e455d8a6df3120fa5e7a6e5f9005a6 (patch)
tree75c3548cd1801c34dcc5078a25818fc17f9ca27c /flang/lib/Frontend/CompilerInvocation.cpp
parentde641e289269061f8bdb138bb5c50e27ef4b354f (diff)
downloadllvm-abe3c5ac19e455d8a6df3120fa5e7a6e5f9005a6.zip
llvm-abe3c5ac19e455d8a6df3120fa5e7a6e5f9005a6.tar.gz
llvm-abe3c5ac19e455d8a6df3120fa5e7a6e5f9005a6.tar.bz2
[GVNSink] Fix non-determinisms by using a deterministic ordering (#90995)
GVNSink used to order instructions based on their pointer values and was prone to non-determinism because of that. This patch ensures all the values stored are using a deterministic order. I have also added a verfier(`ModelledPHI::verifyModelledPHI`) to assert when ordering isn't preserved. Additionally, I have added a test case (mirror graph image of an existing test) that would have failed before this patch. Fixes: #77852
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions