[flang] [libcxx] [compiler-rt] [mlir] [clang] [clang-tools-extra] [lldb] [openmp] [llvm] [lld] [libunwind] [GVNSink] Fix #77415: GVNSink fails to optimize LLVM IR with debug info (PR #77602)

2024-01-10 Thread Shan Huang via cfe-commits
https://github.com/Apochens updated https://github.com/llvm/llvm-project/pull/77602 >From d08af0b38d28726bc78c8da675ea01d7c188c446 Mon Sep 17 00:00:00 2001 From: Apochens <52285902...@stu.ecnu.edu.cn> Date: Wed, 10 Jan 2024 07:10:22 + Subject: [PATCH 1/3] [GVNSink] Fix #77415: GVNSink fails

[mlir] [lldb] [clang-tools-extra] [openmp] [libunwind] [llvm] [flang] [clang] [lld] [GVNSink] Fix #77415: GVNSink fails to optimize LLVM IR with debug info (PR #77602)

2024-01-10 Thread Shan Huang via cfe-commits
https://github.com/Apochens updated https://github.com/llvm/llvm-project/pull/77602 >From d08af0b38d28726bc78c8da675ea01d7c188c446 Mon Sep 17 00:00:00 2001 From: Apochens <52285902...@stu.ecnu.edu.cn> Date: Wed, 10 Jan 2024 07:10:22 + Subject: [PATCH 1/3] [GVNSink] Fix #77415: GVNSink fails

[llvm] [lldb] [clang-tools-extra] [clang] [libunwind] [lld] [flang] [mlir] [openmp] [GVNSink] Fix #77415: GVNSink fails to optimize LLVM IR with debug info (PR #77602)

2024-01-10 Thread Shan Huang via cfe-commits
https://github.com/Apochens updated https://github.com/llvm/llvm-project/pull/77602 >From d08af0b38d28726bc78c8da675ea01d7c188c446 Mon Sep 17 00:00:00 2001 From: Apochens <52285902...@stu.ecnu.edu.cn> Date: Wed, 10 Jan 2024 07:10:22 + Subject: [PATCH 1/2] [GVNSink] Fix #77415: GVNSink fails

[lldb] [clang] [lld] [clang-tools-extra] [openmp] [flang] [mlir] [llvm] [libunwind] [GVNSink] Fix #77415: GVNSink fails to optimize LLVM IR with debug info (PR #77602)

2024-01-10 Thread Shan Huang via cfe-commits
https://github.com/Apochens created https://github.com/llvm/llvm-project/pull/77602 This PR fixes issue #77415 and is revised from PR #77419 . PR #77419 breaks the newly added test in the same PR on windows, because GVNSink is non-deterministic when sorting `BasicBlock*` pointers. This is ref