[llvm] [FunctionComparator] Differentiate instructions passing distinct MDStrings (PR #69543)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 00:40:16 PDT 2023


================
@@ -0,0 +1,34 @@
+; This test contains three identical functions, aside from the metadata
+; they pass to a function call. This test verifies that the function merger
+; pass is able to merge the two functions that are truly identifical,
+; but the third that passes different metadata is preserved
+
+; RUN: opt -passes=mergefunc -S %s | FileCheck %s
----------------
nikic wrote:

Use update_test_checks.py please, and move the test description below the RUN line.

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


More information about the llvm-commits mailing list