RemoveUnusedCPEntries can change things. Track it.
authorBill Wendling <isanbard@gmail.com>
Sat, 18 Dec 2010 01:53:06 +0000 (01:53 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 18 Dec 2010 01:53:06 +0000 (01:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122129 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMConstantIslandPass.cpp

index 126078aae3c8acb679922bc7cf636c5e7fd74f69..8c7ce904e1c105d2f484ced6c3223fc8221d256f 100644 (file)
@@ -327,7 +327,7 @@ bool ARMConstantIslands::runOnMachineFunction(MachineFunction &MF) {
 
 
   /// Remove dead constant pool entries.
-  RemoveUnusedCPEntries();
+  MadeChange |= RemoveUnusedCPEntries();
 
   // Iteratively place constant pool entries and fix up branches until there
   // is no change.