llvm-project/polly/test
Roman Lebedev 1fb6104293
Reland "[SCEV] Model ptrtoint(SCEVUnknown) cast not as unknown, but as zext/trunc/self of SCEVUnknown"
This relands commit 1c021c64ca which was
reverted in commit 17cec6a11a because
an assertion was being triggered, since `BuildConstantFromSCEV()`
wasn't updated to handle the case where the constant we want to truncate
is actually a pointer. I was unsuccessful in coming up with a test case
where we'd end there with constant zext/sext of a pointer,
so i didn't handle those cases there until there is a test case.

Original commit message:

While we indeed can't treat them as no-ops, i believe we can/should
do better than just modelling them as `unknown`. `inttoptr` story
is complicated, but for `ptrtoint`, it seems straight-forward
to model it just as a zext-or-trunc of unknown.

This may be important now that we track towards
making inttoptr/ptrtoint casts not no-op,
and towards preventing folding them into loads/etc
(see D88979/D88789/D88788)

Reviewed By: mkazantsev

Differential Revision: https://reviews.llvm.org/D88806
2020-10-12 23:02:55 +03:00
..
CodeGen
DeLICM Revert "Update polly test for SCEV change." 2019-09-30 07:47:08 +00:00
DeadCodeElimination [BasicAA] Replace -basicaa with -basic-aa in polly 2020-06-30 15:50:17 -07:00
DependenceInfo [BasicAA] Replace -basicaa with -basic-aa in polly 2020-06-30 15:50:17 -07:00
FlattenSchedule
ForwardOpTree Fix polly tests after D79968. 2020-05-15 15:15:09 -07:00
GPGPU Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
Isl Reland "[SCEV] Model ptrtoint(SCEVUnknown) cast not as unknown, but as zext/trunc/self of SCEVUnknown" 2020-10-12 23:02:55 +03:00
JSONExporter Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" 2020-02-13 10:16:06 -08:00
MaximalStaticExpansion
PruneUnprofitable
RewriteByReferenceParameters
ScheduleOptimizer [Polly] Fix prevectorization of fused loops. 2020-07-10 16:42:03 -05:00
ScopDetect [BasicAA] Replace -basicaa with -basic-aa in polly 2020-06-30 15:50:17 -07:00
ScopDetectionDiagnostics [BasicAA] Replace -basicaa with -basic-aa in polly 2020-06-30 15:50:17 -07:00
ScopInfo [FIX] Resolve test failure in polly/test/ScopInfo/memcpy-raw-source.ll 2020-07-28 09:15:40 -07:00
ScopInliner
Simplify [Polly][NewPM] Port Simplify to the new pass manager 2020-09-20 19:18:01 -07:00
Support
Unit Generalize the pass registration mechanism used by Polly to any third-party tool 2020-01-02 16:45:31 +01:00
UnitIsl
CMakeLists.txt
README
create_ll.sh
lit.cfg
lit.site.cfg.in Generalize the pass registration mechanism used by Polly to any third-party tool 2020-01-02 16:45:31 +01:00
polly.ll
update_check.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00

README

place tests here