aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/GlobalStatus.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2021-07-31 13:20:47 -0700
committerEli Friedman <efriedma@quicinc.com>2021-07-31 13:20:47 -0700
commit2a2847823f0d13188c43ebdd0baf42a95df750c7 (patch)
tree77f153656dff970973c04fc325071c6f0f450cba /llvm/lib/Transforms/Utils/GlobalStatus.cpp
parent697ea09d47a93d92e40990a38fccf9e246cc22e6 (diff)
downloadllvm-2a2847823f0d13188c43ebdd0baf42a95df750c7.zip
llvm-2a2847823f0d13188c43ebdd0baf42a95df750c7.tar.gz
llvm-2a2847823f0d13188c43ebdd0baf42a95df750c7.tar.bz2
[ConstantFold] Get rid of special cases for sizeof etc.
Target-dependent constant folding will fold these down to simple constants (or at least, expressions that don't involve a GEP). We don't need heroics to try to optimize the form of the expression before that happens. Fixes https://bugs.llvm.org/show_bug.cgi?id=51232 . Differential Revision: https://reviews.llvm.org/D107116
Diffstat (limited to 'llvm/lib/Transforms/Utils/GlobalStatus.cpp')
0 files changed, 0 insertions, 0 deletions