summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/SampleProfWriter.cpp
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2016-05-19 21:07:01 +0000
committerGuozhi Wei <carrot@google.com>2016-05-19 21:07:01 +0000
commitb1d37199ccfad5654d587cb9a81bcfde613315b4 (patch)
tree0fc5dd31d440f74dfcbafc103c5649288309d355 /llvm/lib/ProfileData/SampleProfWriter.cpp
parentcfe75fa72e8460fb7bd7c131240f874f50767fee (diff)
downloadbcm5719-llvm-b1d37199ccfad5654d587cb9a81bcfde613315b4.tar.gz
bcm5719-llvm-b1d37199ccfad5654d587cb9a81bcfde613315b4.zip
[InstCombine] Avoid combining the bitcast of a var that is used as both address and result of load instructions
This patch fixes https://llvm.org/bugs/show_bug.cgi?id=27703. If there is a sequence of one or more load instructions, each loaded value is used as address of later load instruction, bitcast is necessary to change the value type, don't optimize it. llvm-svn: 270135
Diffstat (limited to 'llvm/lib/ProfileData/SampleProfWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud