[llvm] r212199 - AArch64: Remove unnecessary parens

Duncan P. N. Exon Smith dexonsmith at apple.com
Wed Jul 2 11:14:03 PDT 2014


Author: dexonsmith
Date: Wed Jul  2 13:14:03 2014
New Revision: 212199

URL: http://llvm.org/viewvc/llvm-project?rev=212199&view=rev
Log:
AArch64: Remove unnecessary parens

Modified:
    llvm/trunk/lib/Target/AArch64/AArch64AddressTypePromotion.cpp

Modified: llvm/trunk/lib/Target/AArch64/AArch64AddressTypePromotion.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64AddressTypePromotion.cpp?rev=212199&r1=212198&r2=212199&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64AddressTypePromotion.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64AddressTypePromotion.cpp Wed Jul  2 13:14:03 2014
@@ -388,7 +388,7 @@ void AArch64AddressTypePromotion::mergeS
         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;





More information about the llvm-commits mailing list