AArch64: Actually do address type promotion
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 30 Jun 2014 23:42:14 +0000 (23:42 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 30 Jun 2014 23:42:14 +0000 (23:42 +0000)
commit91fa94884d11352ed8eb5a9ed2db54c1126d6bdd
tree6d0e98cd5608aa2e435d2cfe3f08abebc524be97
parent53da3faab8e56115dec73d2d9d6d8c073c7dd0f5
AArch64: Actually do address type promotion

AArch64AddressTypePromotion was doing nothing because it was using the
old semantics of `Use` and `uses()`, when it really wanted to get at the
`users()`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212073 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64AddressTypePromotion.cpp
test/CodeGen/AArch64/aarch64-address-type-promotion.ll [new file with mode: 0644]