diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2014-12-17 09:45:05 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2014-12-17 09:45:05 +0000 |
| commit | 1f89ffdf4db9fa28463ee70bab08d83eb496a31b (patch) | |
| tree | f31eff209b46d73cb54e0658535969131ab4a680 /llvm/lib/Bitcode | |
| parent | 0580ff0ec6d0a37cea6edfde82391d1bb85470a8 (diff) | |
| download | bcm5719-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')
0 files changed, 0 insertions, 0 deletions

