llvm-project/llvm/test/TableGen/x86-instr-mapping.td
2024-11-07 19:09:21 +08:00

8 lines
462 B
TableGen

// Steps to fix this test if it fails:
// 1. Update X86ManualInstrMapping.def to manually correct the entries in fold tables, or
// fix the vulnerable rules in X86InstrMappingEmitter.cpp until the diff is reasonable
// 2. cp <generated_file> x86-instr-mapping.inc
// RUN: llvm-tblgen -gen-x86-instr-mapping %p/../../lib/Target/X86/X86.td -I %p/../../lib/Target/X86 -I %p/../../include -o %t
// RUN: diff --strip-trailing-cr %p/x86-instr-mapping.inc %t