[llvm] [SimplifyCFG] Optimize select over pointers to eliminate no-op load/store (PR #179277)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 13 02:46:17 PDT 2026


dnsampaio wrote:

@cardigan1008 You're correct. I've fixed the patch to detect if any instructions with possible side effects or write to memory occur between the load and store operation, as to avoid such cases. Many thanks.

https://github.com/llvm/llvm-project/pull/179277


More information about the llvm-commits mailing list