AArch64: Remove unnecessary parens
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 2 Jul 2014 18:14:03 +0000 (18:14 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 2 Jul 2014 18:14:03 +0000 (18:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212199 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64AddressTypePromotion.cpp

index 85ea46b72da4785a8b9cdf9fb603cdc21721ade7..76968012947744e89c47afd82fbdb9639c3e6607 100644 (file)
@@ -388,7 +388,7 @@ void AArch64AddressTypePromotion::mergeSExts(ValueToInsts &ValToSExtendedUses,
         if (DT.dominates(Inst, Pt)) {
           DEBUG(dbgs() << "Replace all uses of:\n" << *Pt << "\nwith:\n"
                        << *Inst << '\n');
         if (DT.dominates(Inst, Pt)) {
           DEBUG(dbgs() << "Replace all uses of:\n" << *Pt << "\nwith:\n"
                        << *Inst << '\n');
-          (Pt)->replaceAllUsesWith(Inst);
+          Pt->replaceAllUsesWith(Inst);
           ToRemove.insert(Pt);
           Pt = Inst;
           inserted = true;
           ToRemove.insert(Pt);
           Pt = Inst;
           inserted = true;