llvm-project/llvm/test
Farhana Aleen 8c7a30baea [LoadStoreVectorizer] Use getMinusScev() to compute the distance between two pointers.
Summary: Currently, isConsecutiveAccess() detects two pointers(PtrA and PtrB) as consecutive by
         comparing PtrB with BaseDelta+PtrA. This works when both pointers are factorized or
         both of them are not factorized. But isConsecutiveAccess() fails if one of the
         pointers is factorized but the other one is not.

         Here is an example:
         PtrA = 4 * (A + B)
         PtrB = 4 + 4A + 4B

         This patch uses getMinusSCEV() to compute the distance between two pointers.
         getMinusSCEV() allows combining the expressions and computing the simplified distance.

Author: FarhanaAleen

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D49516

llvm-svn: 337471
2018-07-19 16:50:27 +00:00
..
Analysis [SCEV] Fix buggy behavior in getAddExpr with truncs 2018-07-19 01:46:21 +00:00
Assembler [ThinLTO] Escape module paths when printing 2018-07-12 14:40:21 +00:00
Bindings
Bitcode [FileCheck] Add -allow-deprecated-dag-overlap to failing llvm tests 2018-07-11 20:25:49 +00:00
BugPoint
CodeGen [X86][BtVer2] correctly model the latency/throughput of LEA instructions. 2018-07-19 16:42:15 +00:00
DebugInfo Rename __asan_gen_* symbols to ___asan_gen_*. 2018-07-18 22:23:14 +00:00
Examples
ExecutionEngine Revert "Re-land r335297 "[X86] Implement more of x86-64 large and medium PIC code models"" 2018-06-28 17:56:43 +00:00
Feature
FileCheck [FileCheck] Implement -v and -vv for tracing matches 2018-07-13 03:08:23 +00:00
Instrumentation Rename __asan_gen_* symbols to ___asan_gen_*. 2018-07-18 22:23:14 +00:00
Integer
JitListener
LTO [LTO] Fix linking with an alias defined using another alias. 2018-07-13 21:58:55 +00:00
Linker
MC [MC] Fix nested macro body parsing 2018-07-18 16:17:03 +00:00
Object
ObjectYAML
Other [ThinLTO] Enable ThinLTO WholeProgramDevirt and LowerTypeTests in new PM 2018-07-19 14:51:32 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [json, test] Fix the json.td test - the path to python could contain spaces 2018-07-13 15:10:53 +00:00
ThinLTO/X86 [ThinLTO] Enable ThinLTO WholeProgramDevirt and LowerTypeTests in new PM 2018-07-19 14:51:32 +00:00
Transforms [LoadStoreVectorizer] Use getMinusScev() to compute the distance between two pointers. 2018-07-19 16:50:27 +00:00
Unit
Verifier Recommit r335794 "Add support for generating a call graph profile from Branch Frequency Info." with fix for removed functions. 2018-07-16 00:28:24 +00:00
YAMLParser
tools [X86][BtVer2] correctly model the latency/throughput of LEA instructions. 2018-07-19 16:42:15 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in