diff options
author | Eli Friedman <efriedma@quicinc.com> | 2021-07-31 13:20:47 -0700 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2021-07-31 13:20:47 -0700 |
commit | 2a2847823f0d13188c43ebdd0baf42a95df750c7 (patch) | |
tree | 77f153656dff970973c04fc325071c6f0f450cba /llvm/lib/Transforms/Utils/GlobalStatus.cpp | |
parent | 697ea09d47a93d92e40990a38fccf9e246cc22e6 (diff) | |
download | llvm-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