summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-07-13 23:33:07 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-07-13 23:33:07 +0000
commitf89660aba78401fab81852c23437509796e8b5eb (patch)
tree65ef0ca0862d2520aed5ffdb2b013502344625c4 /llvm/lib/CodeGen/TargetPassConfig.cpp
parentd77a3b61eba36bdd4c9585e5dfa3f779194d21c4 (diff)
downloadbcm5719-llvm-f89660aba78401fab81852c23437509796e8b5eb.tar.gz
bcm5719-llvm-f89660aba78401fab81852c23437509796e8b5eb.zip
[ConstantFolding] Extend FoldReinterpretLoadFromConstPtr to handle negative offsets
Treat loads which clip before the start of a global initializer the same way we treat clipping beyond the end of the initializer: use zeros. llvm-svn: 275345
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud