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)
commit7d7ae931395b8b907056822ca682d6d0cd3db386
treec8db2a293add09e38f15551db5c80b1f5ed2a881
parent378066c80e65c0a87820e3bfc1637d1b6144bd7e
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()`.

llvm-svn: 212073
llvm/lib/Target/AArch64/AArch64AddressTypePromotion.cpp
llvm/test/CodeGen/AArch64/aarch64-address-type-promotion.ll [new file with mode: 0644]