[all-commits] [llvm/llvm-project] 8b7c49: [IR2VEC] Rewrite triples.mir and entities.mir. NFC...

David Green via All-commits all-commits at lists.llvm.org
Fri Nov 21 00:36:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b7c49536ef3035524de09d58b6aaaea6bcc749b
      https://github.com/llvm/llvm-project/commit/8b7c49536ef3035524de09d58b6aaaea6bcc749b
  Author: David Green <david.green at arm.com>
  Date:   2025-11-21 (Fri, 21 Nov 2025)

  Changed paths:
    M llvm/test/tools/llvm-ir2vec/entities.mir
    R llvm/test/tools/llvm-ir2vec/output/reference_triplets.txt
    R llvm/test/tools/llvm-ir2vec/output/reference_x86_entities.txt
    M llvm/test/tools/llvm-ir2vec/triplets.mir

  Log Message:
  -----------
  [IR2VEC] Rewrite triples.mir and entities.mir. NFC (#168574)

These test change and need updating every time a new instruction is
added, including generic G_ global isel instructions. The opcodes of all
instructions change force a manual update of the file, which makes it
very high cost for what it is testing.

I have rewritten it to use regexes for the triplets.mir test and just
test a couple of opcodes in the entities.mir file.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list