llvm-project/llvm/test
Philip Reames 5c0d1b2f90 [LoopUnroll] Eliminate PreserveCondBr parameter and fix a bug in the process
This builds on D103584. The change eliminates the coupling between unroll heuristic and implementation w.r.t. knowing when the passed in trip count is an exact trip count or a max trip count. In theory the new code is slightly less powerful (since it relies on exact computable trip counts), but in practice, it appears to cover all the same cases. It can also be extended if needed.

The test change shows what appears to be a bug in the existing code around the interaction of peeling and unrolling. The original loop only ran 8 iterations. The previous output had the loop peeled by 2, and then an exact unroll of 8. This meant the loop ran a total of 10 iterations which appears to have been a miscompile.

Differential Revision: https://reviews.llvm.org/D103620
2021-06-03 14:09:16 -07:00
..
Analysis [CostModel][AArch64] Add tests for ctlz, ctpop and cttz. NFC. 2021-06-03 17:12:22 +01:00
Assembler Fix non-global-value-max-name-size not considered by LLParser 2021-05-27 04:20:03 +00:00
Bindings
Bitcode [OpaquePtr] Create new bitcode encoding for atomicrmw 2021-05-25 16:30:34 -07:00
BugPoint
CodeGen [AMDGPU] Fix a crash when selecting a particular case of buffer_load_format_d16 2021-06-03 16:40:18 -04:00
DebugInfo Revert "[DebugInstrRef][2/3] Track PHI values through register coalescing" 2021-06-03 17:16:58 +01:00
Demangle [Demangle][Rust] Parse binders 2021-06-02 10:36:45 +02:00
Examples
ExecutionEngine [JITLink][MachO][arm64] Build GOT entries for defined symbols too. 2021-05-25 12:19:09 -07:00
Feature
FileCheck
Instrumentation [InstrProfiling] If no value profiling, make data variable private and (for Windows) use one comdat 2021-06-03 13:16:13 -07:00
Integer
JitListener Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
LTO Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
Linker Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
MC [MC] Change "unexpected tokens" to "expected newline" and remove unneeded "in .xxx directive" 2021-06-02 16:08:05 -07:00
MachineVerifier
Object [AMDGPU] Add gfx1034 target 2021-05-13 14:25:18 -04:00
ObjectYAML
Other [test] Properly match parameter/argument ABI attributes 2021-05-31 09:12:18 -07:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Make the NUL character invalid in .td files 2021-05-13 10:17:45 -04:00
ThinLTO/X86
Transforms [LoopUnroll] Eliminate PreserveCondBr parameter and fix a bug in the process 2021-06-03 14:09:16 -07:00
Unit
Verifier SwiftTailCC: teach verifier musttail rules applicable to this CC. 2021-05-28 11:12:00 +01:00
YAMLParser
tools [llvm] llvm-tapi-diff 2021-06-03 11:38:00 -07:00
.clang-format
CMakeLists.txt Fix lld macho standalone build by including llvm/Config/llvm-config.h instead of llvm/Config/config.h 2021-05-19 11:15:07 -04:00
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in Fix lld macho standalone build by including llvm/Config/llvm-config.h instead of llvm/Config/config.h 2021-05-19 11:15:07 -04:00