projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AArch64: Re-enable AArch64AddressTypePromotion
[oota-llvm.git]
/
lib
/
Target
/
AArch64
/
AArch64AddressTypePromotion.cpp
diff --git
a/lib/Target/AArch64/AArch64AddressTypePromotion.cpp
b/lib/Target/AArch64/AArch64AddressTypePromotion.cpp
index 76968012947744e89c47afd82fbdb9639c3e6607..ab2c4b73e67c37640cbafde81351280db24c29a9 100644
(file)
--- a/
lib/Target/AArch64/AArch64AddressTypePromotion.cpp
+++ b/
lib/Target/AArch64/AArch64AddressTypePromotion.cpp
@@
-384,7
+384,7
@@
void AArch64AddressTypePromotion::mergeSExts(ValueToInsts &ValToSExtendedUses,
if (ToRemove.count(Inst))
continue;
bool inserted = false;
- for (auto Pt : CurPts) {
+ for (auto
&
Pt : CurPts) {
if (DT.dominates(Inst, Pt)) {
DEBUG(dbgs() << "Replace all uses of:\n" << *Pt << "\nwith:\n"
<< *Inst << '\n');