aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LineIterator.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-10-13 22:05:07 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-10-13 22:22:30 +0300
commite92a8e0c743f83552fac37ecf21e625ba3a4b11e (patch)
tree9eb64fac5204753d222381d669fdfe216b362154 /llvm/lib/Support/LineIterator.cpp
parentbaa3b87015124798c9f0a040e76277e7e74b35b1 (diff)
downloadllvm-e92a8e0c743f83552fac37ecf21e625ba3a4b11e.zip
llvm-e92a8e0c743f83552fac37ecf21e625ba3a4b11e.tar.gz
llvm-e92a8e0c743f83552fac37ecf21e625ba3a4b11e.tar.bz2
[SCEV] BuildConstantFromSCEV(): actually properly handle SExt-of-pointer case
As being pointed out by @efriedma in https://reviews.llvm.org/rGaaafe350bb65#inline-4883 of course we can't just call ptrtoint in sign-extending case and be done with it, because it will zero-extend. I'm not sure what i was thinking there. This is very much not an NFC, however looking at the user of BuildConstantFromSCEV() i'm not sure how to actually show that it results in a different constant expression.
Diffstat (limited to 'llvm/lib/Support/LineIterator.cpp')
0 files changed, 0 insertions, 0 deletions