Add another test for the GlobalOpt change in r212079.
authorBob Wilson <bob.wilson@apple.com>
Wed, 2 Mar 2016 20:02:25 +0000 (20:02 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 2 Mar 2016 20:02:25 +0000 (20:02 +0000)
commit9ab86aabbafe424de527bb5ddd07d2cdbd71c9cf
tree9f7ab410ec9d384010c9f77b6f619535921003ed
parent721f61a00ec3cdb3ebb5b0dbe61ca8d2b047b4e0
Add another test for the GlobalOpt change in r212079.

This is a test that Akira Hatanaka wrote to test GlobalOpt's handling of
aliases with GEP operands. David Majnemer independently made the same
change to GlobalOpt in r212079. Akira's test is a useful addition, so I'm
pulling it over from the llvm repo for Swift on GitHub.

llvm-svn: 262510
llvm/test/Transforms/GlobalOpt/alias-used.ll