llvm-project/bolt/test/X86
spupyrev 4609f60ebc [BOLT] Avoid pointless loop rotation
It seems the earlier implementation does not follow the description
in LoopRotationPass.h: It rotates loops even if they are already laid out
correctly. The diff adjusts the behaviour.

Given that the impact of LoopInversionPass is minor, this change won't
yield significant perf differences. Tested on clang-10: there seems to be a
0.1%-0.3% cpu win and a small reduction of branch misses.

**Before:**
BOLT-INFO: 120 Functions were reordered by LoopInversionPass

**After:**
BOLT-INFO: 79 Functions were reordered by LoopInversionPass

Reviewed By: yota9

Differential Revision: https://reviews.llvm.org/D121921
2022-03-22 12:42:42 -07:00
..
Inputs [BOLT] Move some of the tests to common directory 2022-03-09 14:51:17 +03:00
addr32.s [BOLT] Strip redundant AdSize override prefix 2022-03-16 09:38:17 -07:00
asm-dump.c [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
asm-func-debug.test [BOLT][TEST] Adjust tests for BOLT_CLANG_EXE=clang-{6..9} 2022-01-26 17:12:54 -08:00
avx512-trap.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
bb-with-two-tail-calls.s [BOLT] Add pass to normalize CFG 2021-12-01 13:57:50 -08:00
block-reordering.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
branch-data.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
bug-reorder-bb-jrcxz.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
call-zero.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
cfi-expr-rewrite.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
cfi-instrs-count.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
cfi-instrs-reordered.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
cmov-conversion.s [BOLT] CMOVConversion pass 2022-03-08 10:44:31 -08:00
ctc-and-unreachable.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
debug-fission-single.s [BOLT][DWARF] Remove caching of ranges/abbrevs 2022-02-08 16:37:40 -08:00
double-jump.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
exceptions-args.test [BOLT][TEST] Fix building some tests with clang-14 by passing -no-pie 2022-01-30 20:27:37 -08:00
fallthrough-to-noop.test [BOLT][TEST] Import small tests 2021-11-03 17:09:49 -07:00
false-jump-table.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
fptr-addend-pcrel.s [BOLT][test] Fix function size in test case 2022-03-01 17:53:41 -08:00
gdbindex.test [BOLT][DWARF] Remove caching of ranges/abbrevs 2022-02-08 16:37:40 -08:00
high_pc_udata.s [BOLT][DWARF] Fix how DW_AT_high_pc [DW_FORM_udata] is handled 2022-02-25 10:32:05 -08:00
icf-jump-tables.test [BOLT] Move some of the tests to common directory 2022-03-09 14:51:17 +03:00
indirect-goto.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
inline-debug-info.test [BOLT] Fix DWARFv5 for aarch64 2022-01-27 02:14:58 +03:00
inlined-function-mixed.test [BOLT] Fix DWARFv5 for aarch64 2022-01-27 02:14:58 +03:00
insert-debug-info-entry.test [BOLT][DWARF] Add ability to insert new entries in to DIE 2022-02-15 18:07:19 -08:00
internal-call-instrument-so.s [BOLT][TEST] Add .so instrumentation test 2022-02-08 12:43:06 -08:00
internal-call-instrument.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
interprocedural-ref-entry-point.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
issue20.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
issue20.test Avoid removing BBs referenced by JTs 2018-07-03 17:02:33 -07:00
issue26.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
issue26.test [BOLT] Change symbol handling for secondary function entries 2020-04-19 22:29:54 -07:00
jmp-after-ret.s [BOLT] Remove unreachable uncond branch after return 2022-01-19 22:06:26 +03:00
jmp-optimization.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
jmpjmp.test [BOLT][TEST] Imported small tests 2021-10-06 16:20:00 -07:00
jump-table-footprint-reduction.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
jump-table-icp.test [BOLT][TEST] Import jump-table-icp.test, update link_fdata script 2021-11-08 10:56:21 -08:00
jump-table-pic-order.test [BOLT] Make order of jump table successors deterministic 2022-02-14 10:37:20 -08:00
jump-table-reference.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
layout-heuristic.test [BOLT] Move disassemble optimizations to optimization passes 2021-12-18 17:03:35 -08:00
line-number.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
lit.local.cfg [PR][BOLT][TEST] Fix tests 2021-10-11 11:15:08 +03:00
loop-inversion-pass.s [BOLT] Avoid pointless loop rotation 2022-03-22 12:42:42 -07:00
loop-nest.test [BOLT][TEST] Import small tests 2021-11-11 14:28:46 -08:00
no-entry-reordering.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
no-output.test [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
plt-sec-8-byte.test [BOLT] Support PLT sections with variable entry sizes 2021-07-14 01:35:34 -07:00
plt-sec.test [BOLT] Support PLT sections with variable entry sizes 2021-07-14 01:35:34 -07:00
pre-aggregated-perf.test [BOLT] Move disassemble optimizations to optimization passes 2021-12-18 17:03:35 -08:00
reader.test [BOLT][TEST] Imported small tests 2021-10-07 13:38:58 -07:00
relaxed-tailcall.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
remove-unused.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
rodata-simpl-loads.test [BOLT][TEST] Import small tests 2021-11-11 14:28:46 -08:00
sctc-bug.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
sctc-bug2.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
sctc-bug3.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
sctc-bug4.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
shared-abbrev.s [BOLT][DWARF] Handle shared abbrev section 2022-01-31 11:10:23 -08:00
shorten-mov.test [BOLT] Move disassemble optimizations to optimization passes 2021-12-18 17:03:35 -08:00
shrinkwrapping-critedge.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
shrinkwrapping-insertcfi.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
shrinkwrapping-pop-order.s [PR] Fix ShrinkWrapping pop order 2021-11-14 02:23:20 +03:00
shrinkwrapping-popf.s Fix frameopt crash when processing POPF 2021-12-15 13:29:46 -08:00
shrinkwrapping.test [BOLT][TEST] Fix building some tests with clang-14 by passing -no-pie 2022-01-30 20:27:37 -08:00
split-func-icf.s [BOLT] Skip warning message if no functions were ignored 2022-02-14 10:31:43 -08:00
split-func-jump-table-fragment-noparent.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
split-func-jump-table-fragment-reverse.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
split-func-jump-table-fragment.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
srol-bug.test [BOLT] Add initial bolt-only test infra 2018-06-22 13:50:07 -07:00
static-exe.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
symtab-secondary-entries.test [BOLT][TEST] Adjust tests for BOLT_CLANG_EXE=clang-{6..9} 2022-01-26 17:12:54 -08:00
tail-duplication-cacheline.s [BOLT] Tail Duplication: skip unreachable blocks 2021-11-24 16:13:42 -08:00
tail-duplication-complex.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
tail-duplication-jt.s [BOLT] Tail Duplication: fix jump table check 2021-11-24 15:39:24 -08:00
tail-duplication-pass.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00
tail-duplication-prop-bug.s [BOLT] Fix X86MCPlusBuilder::replaceRegWithImm 2022-02-28 19:24:46 -08:00
tailcall-traps.test [BOLT] Fix tailcall-traps and basic-instr tests on ubuntu 2021-11-17 15:38:36 -08:00
tailcall.test [BOLT][TEST] Imported small tests 2021-10-08 18:23:32 -07:00
unreachable.test [BOLT][TEST] Fix building some tests with clang-14 by passing -no-pie 2022-01-30 20:27:37 -08:00
vararg.test [BOLT][TEST] Fix building some tests with clang-14 by passing -no-pie 2022-01-30 20:27:37 -08:00
zero-sized-object.s [BOLT][TEST] Remove dependence on host_cc and host_cxx 2021-09-22 15:53:38 -07:00