summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-07-02 18:14:03 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-07-02 18:14:03 +0000
commit0945abc14291aaa2407df01b38291714fa6171ac (patch)
treeaf458c923b258eaaec43908819146b8ed0bfe31f /llvm/lib
parent5e6813d184558c72a49a830a5b56eae057c25ec4 (diff)
downloadbcm5719-llvm-0945abc14291aaa2407df01b38291714fa6171ac.tar.gz
bcm5719-llvm-0945abc14291aaa2407df01b38291714fa6171ac.zip
AArch64: Remove unnecessary parens
llvm-svn: 212199
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/AArch64AddressTypePromotion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64AddressTypePromotion.cpp b/llvm/lib/Target/AArch64/AArch64AddressTypePromotion.cpp
index 85ea46b72da..76968012947 100644
--- a/llvm/lib/Target/AArch64/AArch64AddressTypePromotion.cpp
+++ b/llvm/lib/Target/AArch64/AArch64AddressTypePromotion.cpp
@@ -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');
- (Pt)->replaceAllUsesWith(Inst);
+ Pt->replaceAllUsesWith(Inst);
ToRemove.insert(Pt);
Pt = Inst;
inserted = true;
OpenPOWER on IntegriCloud