summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2014-12-17 09:45:05 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2014-12-17 09:45:05 +0000
commit1f89ffdf4db9fa28463ee70bab08d83eb496a31b (patch)
treef31eff209b46d73cb54e0658535969131ab4a680 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent0580ff0ec6d0a37cea6edfde82391d1bb85470a8 (diff)
downloadbcm5719-llvm-1f89ffdf4db9fa28463ee70bab08d83eb496a31b.tar.gz
bcm5719-llvm-1f89ffdf4db9fa28463ee70bab08d83eb496a31b.zip
irgen: fix canAvoid*
Patch by Andrew Wilkins! canAvoidElementLoad and canAvoidLoad were incorrectly eliding loads when an index expression is used as an another array index expression. This led to a panic. See comments on https://github.com/go-llvm/llgo/issues/175 Test Plan: lit test added Differential Revision: http://reviews.llvm.org/D6676 llvm-svn: 224420
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud