[llvm] [IR2Vec][llvm-ir2vec] Revamp triplet generation and add entity mapping mode (PR #149214)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 06:59:34 PDT 2025


================
@@ -0,0 +1,95 @@
+; RUN: llvm-ir2vec --mode=entities | FileCheck %s
+
+CHECK: 92
----------------
mtrofin wrote:

you could also have dumped the expected output to a reference file under `Inputs` and `diff`.

But I wouldn't bother doing that now, it's just more work, and my point was that there's a "less work" alternative - for next time.

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


More information about the llvm-commits mailing list