[llvm] [InstCombine] Optimistically allow multiple shufflevector uses in foldOpPhi (PR #114278)
David Peixotto via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 16:08:34 PST 2024
================
@@ -0,0 +1,57 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt < %s -S -passes=instcombine | FileCheck %s
+
+define void @f(ptr %p_begin, ptr %p_end, ptr %out) {
----------------
dmpots wrote:
Is it worth adding tests for cases where it should not simplify (e.g. too many users, some users can't simplify)?
https://github.com/llvm/llvm-project/pull/114278
More information about the llvm-commits
mailing list