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
Differential D6676
[llgo] irgen: fix canAvoid* Authored by axw on Dec 16 2014, 1:32 AM.
Details
canAvoidElementLoad and canAvoidLoad were incorrectly See comments on https://github.com/go-llvm/llgo/issues/175
Diff Detail Event Timeline
Comment Actions Please do ask for it (http://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access). In the meantime, I've committed this for you. | ||||||||||||||||||||
Can you leave the // ok comment here? This would make it a little clearer that we intend to accept the referrer rather than falling through.