You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that http://llvm.org/viewvc/llvm-project?view=revision&revision=242436 introduced a correctness regression.
The attached reduced test case (still not tiny though) shows that at optimization level -O1, this code gets miscompiled, while it still was getting compiled correctly by clang r242436.
Extended Description
It seems that http://llvm.org/viewvc/llvm-project?view=revision&revision=242436 introduced a correctness regression.
The attached reduced test case (still not tiny though) shows that at optimization level -O1, this code gets miscompiled, while it still was getting compiled correctly by clang r242436.
$ ./llvm.org/cmake-build-r242435/bin/clang ./reproducer/aarch64_tree_tests_reduce.c -S -O1 -o ./reproducer/t.242435.s;
$ ./llvm.org/cmake-build-r242436/bin/clang ./reproducer/aarch64_tree_tests_reduce.c -S -O1 -o ./reproducer/t.242436.s;
$ ./llvm.org/cmake-build-r242435/bin/clang ./reproducer/aarch64_tree_tests_reduce.c -O1 -o ./reproducer/t.242435.exe;
$ ./llvm.org/cmake-build-r242436/bin/clang ./reproducer/aarch64_tree_tests_reduce.c -O1 -o ./reproducer/t.242436.exe;
$ ./reproducer/t.242435.exe
$ ./reproducer/t.242436.exe
Expected: 0000000000000000 Got: 0000000000000000
The text was updated successfully, but these errors were encountered: