1*45bb48eaSTom Stellard+==============================================================================+ 2*45bb48eaSTom Stellard| How to organize the lit tests | 3*45bb48eaSTom Stellard+==============================================================================+ 4*45bb48eaSTom Stellard 5*45bb48eaSTom Stellard- If you write a test for matching a single DAG opcode or intrinsic, it should 6*45bb48eaSTom Stellard go in a file called {opcode_name,intrinsic_name}.ll (e.g. fadd.ll) 7*45bb48eaSTom Stellard 8*45bb48eaSTom Stellard- If you write a test that matches several DAG opcodes and checks for a single 9*45bb48eaSTom Stellard ISA instruction, then that test should go in a file called {ISA_name}.ll (e.g. 10*45bb48eaSTom Stellard bfi_int.ll 11*45bb48eaSTom Stellard 12*45bb48eaSTom Stellard- For all other tests, use your best judgement for organizing tests and naming 13*45bb48eaSTom Stellard the files. 14*45bb48eaSTom Stellard 15*45bb48eaSTom Stellard+==============================================================================+ 16*45bb48eaSTom Stellard| Naming conventions | 17*45bb48eaSTom Stellard+==============================================================================+ 18*45bb48eaSTom Stellard 19*45bb48eaSTom Stellard- Use dash '-' and not underscore '_' to separate words in file names, unless 20*45bb48eaSTom Stellard the file is named after a DAG opcode or ISA instruction that has an 21*45bb48eaSTom Stellard underscore '_' in its name. 22