[llvm-branch-commits] [llvm] [GVN] Assign unique VNs to calls with operand bundles (PR #210335)

Momchil Velikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 20 01:22:33 PDT 2026


================
@@ -0,0 +1,18 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -S  -p gvn < %s | FileCheck %s
+
+; Check GVN does not eliminate the second call bacause of operand bundle presence.
----------------
momchil-velikov wrote:

Indeed, the bundle name was supposed to differ.

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


More information about the llvm-branch-commits mailing list