hanchenye-llvm-project/llgo/test/irgen
Peter Collingbourne 1f89ffdf4d 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
2014-12-17 09:45:05 +00:00
..
Inputs
avoidload.go irgen: fix canAvoid* 2014-12-17 09:45:05 +00:00
cabi.go
mangling-dot.go
mangling-synthetic.go