Displaying 2 results from an estimated 2 matches for "ptr_test".
2019 Jun 11
3
[RFC][SCEV] Behavior of AddRec in CompareSCEVComplexity
...uss with you folks about the best way to solve this.
Here are the details:
Setup
Off-the-tip llvm-project, including clang and libcxx, built in full Debug build
Input Program
Both the original C file and IR file are enclosed in the attachment. The IR generation command is `clang -O1 -emit-llvm -S ptr_test.c -o ptr_test.O1.ll`
Crashed Command
`opt -S -disable-output -basicaa -scev-aa -aa-eval -print-no-aliases ptr_test.O1.ll`
The core dump message is also in the attachments.
Investigations
1. SCEV-AA try to ‘minus' the SCEV expressions of the given two pointers(lib/Analysis/ScalarEvolutionAlias...
2019 Jun 12
2
[RFC][SCEV] Behavior of AddRec in CompareSCEVComplexity
Hi,
Thanks for the input. In my ptr_test.O1.ll, the two loops should fall into
the last case due to loop rotations. And I think we should handle that case.
I propose to check the dominance relation between loop predecessor blocks
of the two loops if there is no dominance relation between their loop
headers just like case three. The only t...