[all-commits] [llvm/llvm-project] 732461: [SCEV] BuildConstantFromSCEV(): properly handle SC...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Tue Oct 13 01:48:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7324616660fc0995fa8c166e3c392361222d5dbc
https://github.com/llvm/llvm-project/commit/7324616660fc0995fa8c166e3c392361222d5dbc
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2020-10-13 (Tue, 13 Oct 2020)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/ptrtoint-constantexpr-loop.ll
Log Message:
-----------
[SCEV] BuildConstantFromSCEV(): properly handle SCEVZeroExtend from ptr
As being reported in https://reviews.llvm.org/D88806#2326944,
this is pretty much the sibling problem of https://reviews.llvm.org/D88806#2325340,
with root cause being that SCEV now models `ptrtoint` as trunc/zext/self of unknown.
The appropriate (currently crashing) test coverage added.
More information about the All-commits
mailing list